@ardimedia/angular-portal-azure 0.2.159 → 0.2.160

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 +9 -14
  2. package/package.json +1 -1
package/apn.js CHANGED
@@ -387,14 +387,10 @@ var angularportalazure;
387
387
  }
388
388
  };
389
389
  Blade.prototype.setBladeHeights = function () {
390
- var _this = this;
391
- this.portalService.$timeout(function () {
392
- console.log(_this.portalService);
393
- console.log(_this.portalService.$window);
394
- console.log(_this.portalService.$window.innerHeight);
395
- _this.bladeContentHeight = _this.portalService.$window.innerHeight - 125; // 125 = header
396
- _this.bladeContentHeightInner = _this.bladeContentHeight - 50 - 3; // 50 = padding (top and bottom), somehow we miss 3px
397
- }, 50);
390
+ this.bladeContentHeight = this.portalService.$window.innerHeight - 125; // 125 = header
391
+ this.bladeContentHeightInner = this.bladeContentHeight - 50 - 3; // 50 = padding (top and bottom), somehow we miss 3px
392
+ //this.portalService.$timeout(() => {
393
+ //}, 50);
398
394
  };
399
395
  return Blade;
400
396
  }(angularportalazure.UserControlBase));
@@ -1133,19 +1129,18 @@ var angularportalazure;
1133
1129
  //#endregion
1134
1130
  //#region Properties
1135
1131
  _this.items = [];
1136
- _this.commandNewText = 'neu';
1137
1132
  return _this;
1138
1133
  }
1139
1134
  //#endregion
1140
1135
  //#region Methods
1141
1136
  BladeGrid.prototype.loadItems = function (func) {
1142
- var that = this;
1143
- that.onLoadItems();
1137
+ var _this = this;
1138
+ this.onLoadItems();
1144
1139
  func().then(function (data) {
1145
- that.items = data;
1146
- that.onLoadedItems();
1140
+ _this.items = data;
1141
+ _this.onLoadedItems();
1147
1142
  }).catch(function (exception) {
1148
- that.setStatusBarException(exception);
1143
+ _this.setStatusBarException(exception);
1149
1144
  });
1150
1145
  };
1151
1146
  BladeGrid.prototype.onLoadItems = 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.159",
5
+ "version": "0.2.160",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {