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