bastion 5.0.7 → 5.0.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e3e71039031e4dd080f29a933122ed9a8f0d2b4
|
4
|
+
data.tar.gz: e9fa911169be27205aef33487085236f569d8fa6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d3f6e4499589954d82356cce001eb6f856c338067e5f8f4c1bb6e258002970ce63a94afb1d26101e0192427cc5cf8910e7aa9e2dd316892ae46ef5fcc1865ac
|
7
|
+
data.tar.gz: 596c186b3a3c28dcf9fbc8dd27e151f1ba7dc8530b8f9b1b32550156560acc9082128a68d7f531b91f4ebaf8fd8abcc76ee3c8da68e5ad8466c0eef9c31b0687
|
@@ -83,6 +83,7 @@ angular.module('Bastion.components').factory('Nutupane',
|
|
83
83
|
|
84
84
|
self.load = function () {
|
85
85
|
var deferred = $q.defer(),
|
86
|
+
resourceCall,
|
86
87
|
table = self.table,
|
87
88
|
existingTable = TableCache.getTable(getTableName());
|
88
89
|
|
@@ -100,8 +101,7 @@ angular.module('Bastion.components').factory('Nutupane',
|
|
100
101
|
params.search = table.searchTerm || "";
|
101
102
|
params.search = self.searchTransform(params.search);
|
102
103
|
|
103
|
-
resource[table.action](params, function (response) {
|
104
|
-
|
104
|
+
resourceCall = resource[table.action](params, function (response) {
|
105
105
|
if (response.error) {
|
106
106
|
GlobalNotification.setErrorMessage(response.error);
|
107
107
|
}
|
@@ -140,11 +140,15 @@ angular.module('Bastion.components').factory('Nutupane',
|
|
140
140
|
table.working = false;
|
141
141
|
table.refreshing = false;
|
142
142
|
table.initialLoad = false;
|
143
|
-
}).$promise.catch(function() {
|
144
|
-
table.working = false;
|
145
|
-
table.refreshing = false;
|
146
143
|
});
|
147
144
|
|
145
|
+
if (resourceCall && resourceCall.$promise && resourceCall.$promise.catch) {
|
146
|
+
resourceCall.$promise.catch(function () {
|
147
|
+
table.working = false;
|
148
|
+
table.refreshing = false;
|
149
|
+
});
|
150
|
+
}
|
151
|
+
|
148
152
|
return deferred.promise;
|
149
153
|
};
|
150
154
|
|
data/lib/bastion/version.rb
CHANGED
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.
|
4
|
+
version: 5.0.8
|
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-08-
|
12
|
+
date: 2017-08-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: angular-rails-templates
|