@ardimedia/angular-portal-azure 0.2.59 → 0.2.60

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 (3) hide show
  1. package/apn.d.ts +1 -1
  2. package/apn.js +4 -3
  3. package/package.json +1 -1
package/apn.d.ts CHANGED
@@ -336,7 +336,7 @@ declare namespace angularportalazure {
336
336
  items: any[];
337
337
  constructor(portalService: angularportalazure.PortalService, path: string, title: string, subtitle?: string, width?: number);
338
338
  activate(): void;
339
- onActivate(): any;
339
+ onActivate(): angular.IHttpPromise<any>;
340
340
  loadItems(f: any): void;
341
341
  onFilter(actual: Object, expected: string): boolean;
342
342
  /** Obsolete */
package/apn.js CHANGED
@@ -1242,12 +1242,13 @@ var angularportalazure;
1242
1242
  var that = this;
1243
1243
  that.statusbar = 'Daten laden...';
1244
1244
  that.statusbarClass = '';
1245
- var onActivate = that.onActivate();
1246
- if (onActivate === null || onActivate === undefined) {
1245
+ //var onActivate = that.onActivate();
1246
+ if (that.onActivate === null || that.onActivate === undefined) {
1247
1247
  }
1248
1248
  else {
1249
1249
  //that.loadItems(onActivate);
1250
- onActivate.then(function (data) {
1250
+ that.onActivate()
1251
+ .then(function (data) {
1251
1252
  that.items = data;
1252
1253
  that.statusbar = '';
1253
1254
  that.statusbarClass = '';
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.59",
5
+ "version": "0.2.60",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {