bastion 5.0.5 → 5.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7039c9850722913c6e9f047b33647ce9f1a6b14
4
- data.tar.gz: c40a7dbcfcfc889ec28014c8c513ee02115949b3
3
+ metadata.gz: 55ce63226df9c06562642aa39364a46785888216
4
+ data.tar.gz: 48c6b2e715be10035d0ba914a870e54fb75a726a
5
5
  SHA512:
6
- metadata.gz: 2690d566f382dc3886384a10543535739e926199afd3d6fbf61691e3926b037b187043cd87b3e497f4345ca97c1e483683e677966816b7073c15e24372676cb7
7
- data.tar.gz: 1252615f5b8a1999362d73c740c7fc86d806b4d38b0a321918a3739ca155e4937ee8af37937ecb9004df77f497f894836dd2021c75c8ea20d187ea46d1b02cbe
6
+ metadata.gz: d46fd5672f7ae4b25f0716db49ca56e379837794b644d3dc3d040615a889e466722b12dab2b4fb202ad8faae71a762d877cb17a0f66174b64d1f50badebdaf8a
7
+ data.tar.gz: 3512a2a5f503a670e097b5d13d505a7a5ce72cf82317366016caf0546b68dc203a56394fe973f7dba8618d2eb2ad83ebfc87a780738b8b116300e5ef47b5c95d
@@ -215,7 +215,8 @@ angular.module('Bastion.components').factory('Nutupane',
215
215
  };
216
216
 
217
217
  self.refresh = function () {
218
- var existingTable = TableCache.getTable(getTableName());
218
+ var promise, existingTable;
219
+ existingTable = TableCache.getTable(getTableName());
219
220
 
220
221
  if (existingTable) {
221
222
  self.loadParamsFromExistingTable(existingTable);
@@ -223,8 +224,11 @@ angular.module('Bastion.components').factory('Nutupane',
223
224
 
224
225
  self.table.refreshing = true;
225
226
  self.table.numSelected = 0;
226
- self.table.selectAllResults(false);
227
- return self.load();
227
+ promise = self.load();
228
+ promise.then(function () {
229
+ self.table.selectAllResults(false);
230
+ });
231
+ return promise;
228
232
  };
229
233
 
230
234
  self.invalidate = function () {
@@ -1,3 +1,3 @@
1
1
  module Bastion
2
- VERSION = "5.0.5"
2
+ VERSION = "5.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bastion
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.5
4
+ version: 5.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric D Helms
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-07 00:00:00.000000000 Z
12
+ date: 2017-06-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: angular-rails-templates