@ardimedia/angular-portal-azure 0.2.60 → 0.2.62
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 +18 -15
- package/package.json +1 -1
package/apn.js
CHANGED
|
@@ -1239,25 +1239,28 @@ 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
|
-
|
|
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
|
+
//}
|
|
1261
1264
|
};
|
|
1262
1265
|
BladeGrid.prototype.onActivate = function () {
|
|
1263
1266
|
throw new Error('[angularportalazure.BladeGrid] \'onActivate\' is an abstract function. Define one in the derived class.');
|
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.62",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|