@ardimedia/angular-portal-azure 0.2.103 → 0.2.105
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 +13 -1
- package/package.json +1 -1
package/apn.js
CHANGED
|
@@ -479,7 +479,19 @@ var angularportalazure;
|
|
|
479
479
|
//#endregion
|
|
480
480
|
//#region Methods
|
|
481
481
|
BladeArea.prototype.raiseAddBladeEvent = function (args) {
|
|
482
|
-
|
|
482
|
+
var isActivated = false;
|
|
483
|
+
this.blades.forEach(function (blade) {
|
|
484
|
+
if (blade.path === args.path) {
|
|
485
|
+
console.log('executing: blade.onActivate();');
|
|
486
|
+
blade.onActivate();
|
|
487
|
+
isActivated = true;
|
|
488
|
+
return;
|
|
489
|
+
}
|
|
490
|
+
});
|
|
491
|
+
if (!isActivated) {
|
|
492
|
+
console.log('broadcast: BladeArea.AddBlade');
|
|
493
|
+
this.portalService.$rootScope.$broadcast('BladeArea.AddBlade', args);
|
|
494
|
+
}
|
|
483
495
|
};
|
|
484
496
|
BladeArea.prototype.setFirstBlade = function (path) {
|
|
485
497
|
this.clearAll();
|
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.105",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"typings": "apn.d.ts",
|
|
8
8
|
"dependencies": {
|