@ardimedia/angular-portal-azure 0.2.58 → 0.2.59

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.
Files changed (2) hide show
  1. package/apn.js +10 -1
  2. package/package.json +1 -1
package/apn.js CHANGED
@@ -1246,7 +1246,16 @@ var angularportalazure;
1246
1246
  if (onActivate === null || onActivate === undefined) {
1247
1247
  }
1248
1248
  else {
1249
- that.loadItems(onActivate);
1249
+ //that.loadItems(onActivate);
1250
+ onActivate.then(function (data) {
1251
+ that.items = data;
1252
+ that.statusbar = '';
1253
+ that.statusbarClass = '';
1254
+ }).catch(function (exception) {
1255
+ console.log(exception);
1256
+ that.statusbar = 'FEHLER: ' + exception.Message;
1257
+ that.statusbarClass = 'message-info message-off';
1258
+ });
1250
1259
  }
1251
1260
  };
1252
1261
  BladeGrid.prototype.onActivate = function () {
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.58",
5
+ "version": "0.2.59",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {