@ardimedia/angular-portal-azure 0.2.130 → 0.2.131
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 +4 -4
- package/package.json +1 -1
package/apn.js
CHANGED
|
@@ -438,11 +438,11 @@ var angularportalazure;
|
|
|
438
438
|
//#endregion
|
|
439
439
|
Blade.prototype.setTitle = function (watchExpression, text) {
|
|
440
440
|
var _this = this;
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
this.watcherTitle = this.$scope.$watch(watchExpression, function () { _this.title = (text || ''); });
|
|
444
|
-
this.$scope.$on('$destroy', function () { _this.watcherTitle(); });
|
|
441
|
+
if (this.watcherTitle != undefined) {
|
|
442
|
+
this.watcherTitle();
|
|
445
443
|
}
|
|
444
|
+
this.watcherTitle = this.$scope.$watch(watchExpression, function () { return _this.title = (text || ''); });
|
|
445
|
+
this.$scope.$on('$destroy', function () { _this.watcherTitle(); });
|
|
446
446
|
};
|
|
447
447
|
Blade.prototype.setBladeHeights = function () {
|
|
448
448
|
var that = this;
|
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.131",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|