@ardimedia/angular-portal-azure 0.2.61 → 0.2.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apn.js +21 -18
- package/package.json +1 -1
package/apn.js
CHANGED
|
@@ -1239,39 +1239,42 @@ var angularportalazure;
|
|
|
1239
1239
|
//#region Methods
|
|
1240
1240
|
BladeGrid.prototype.activate = function () {
|
|
1241
1241
|
angularportalazure.Debug.write('[angularportalazure-debug] \'BladeGrid.activate\' called.', [this]);
|
|
1242
|
+
console.log('BladeGrid.activate()');
|
|
1242
1243
|
var that = this;
|
|
1243
1244
|
that.statusbar = 'Daten laden...';
|
|
1244
1245
|
that.statusbarClass = '';
|
|
1245
1246
|
//var onActivate = that.onActivate();
|
|
1246
|
-
if (that.onActivate === null || that.onActivate === undefined) {
|
|
1247
|
-
}
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
}
|
|
1247
|
+
//if (that.onActivate === null || that.onActivate === undefined) {
|
|
1248
|
+
//} else {
|
|
1249
|
+
//that.loadItems(onActivate);
|
|
1250
|
+
console.log('call onActivate()');
|
|
1251
|
+
that.onActivate()
|
|
1252
|
+
.then(function (data) {
|
|
1253
|
+
console.log('OK');
|
|
1254
|
+
that.items = data;
|
|
1255
|
+
that.statusbar = '';
|
|
1256
|
+
that.statusbarClass = '';
|
|
1257
|
+
}).catch(function (exception) {
|
|
1258
|
+
console.log('exception');
|
|
1259
|
+
console.log(exception);
|
|
1260
|
+
that.statusbar = 'FEHLER: ' + exception.Message;
|
|
1261
|
+
that.statusbarClass = 'message-info message-off';
|
|
1262
|
+
});
|
|
1263
|
+
//}
|
|
1264
1264
|
};
|
|
1265
1265
|
BladeGrid.prototype.onActivate = function () {
|
|
1266
1266
|
throw new Error('[angularportalazure.BladeGrid] \'onActivate\' is an abstract function. Define one in the derived class.');
|
|
1267
1267
|
};
|
|
1268
1268
|
BladeGrid.prototype.loadItems = function (f) {
|
|
1269
1269
|
var that = this;
|
|
1270
|
+
console.log('loadItems');
|
|
1270
1271
|
f.then(function (data) {
|
|
1271
1272
|
that.items = data;
|
|
1272
1273
|
that.statusbar = '';
|
|
1273
1274
|
that.statusbarClass = '';
|
|
1274
1275
|
}).catch(function (exception) {
|
|
1276
|
+
console.log('loadItems.catch');
|
|
1277
|
+
console.log(exception);
|
|
1275
1278
|
that.statusbar = 'FEHLER: ' + exception.Message;
|
|
1276
1279
|
that.statusbarClass = 'message-info message-off';
|
|
1277
1280
|
});
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@ardimedia/angular-portal-azure",
|
|
3
3
|
"description": "Angular Portal Azure - GUI Framework.",
|
|
4
4
|
"author": "Ardimedia Anstalt <info@ardimedia.com> (http://www.ardimedia.com)",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.63",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|