@ardimedia/angular-portal-azure 0.2.53 → 0.2.54

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 +3 -3
  2. package/package.json +1 -1
package/apn.js CHANGED
@@ -1239,12 +1239,12 @@ var angularportalazure;
1239
1239
  };
1240
1240
  BladeGrid.prototype.loadItems = function (f) {
1241
1241
  var that = this;
1242
- f.success(function (data) {
1242
+ f.then(function (data) {
1243
1243
  that.items = data;
1244
1244
  that.statusbar = '';
1245
1245
  that.statusbarClass = '';
1246
- }).error(function (data, status, headers, config) {
1247
- that.statusbar = 'FEHLER: ' + data;
1246
+ }).catch(function (exception) {
1247
+ that.statusbar = 'FEHLER: ' + exception;
1248
1248
  that.statusbarClass = 'message-info message-off';
1249
1249
  });
1250
1250
  };
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.53",
5
+ "version": "0.2.54",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {