@ardimedia/angular-portal-azure 0.2.322 → 0.2.324

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 +4 -8
  2. package/package.json +1 -1
package/apn.js CHANGED
@@ -323,7 +323,7 @@ var angularportalazure;
323
323
  // Set 'this.portalService.areaBlades.blades[index]' to 'this'
324
324
  // 'this.portalService.areaBlades.blades[index]' was generated during AddBlade
325
325
  _this.portalService.areaBlades.blades.forEach(function (blade, index) {
326
- if (blade.path === _this.path) {
326
+ if (blade.path.toLowerCase() === _this.path.toLowerCase()) {
327
327
  _this.portalService.areaBlades.blades[index] = _this;
328
328
  }
329
329
  });
@@ -471,7 +471,7 @@ var angularportalazure;
471
471
  }(angularportalazure.UserControlBase));
472
472
  angularportalazure.Blade = Blade;
473
473
  })(angularportalazure || (angularportalazure = {}));
474
- // #region Declarations
474
+ // #region Imports
475
475
  /// <reference types="angular" />
476
476
  /// <reference path="blade.ts" />
477
477
  /// <reference path="usercontrolbase.ts" />
@@ -503,15 +503,11 @@ var angularportalazure;
503
503
  return;
504
504
  }
505
505
  });
506
- if (!isEventRaised) {
507
- // Blade not found?
508
- console.debug('angularportalazure.AreaBlades.raiseBladeOnActivateEvent did not find the corresponding blade: ' + args.path);
509
- }
510
506
  };
511
507
  AreaBlades.prototype.raiseAddBladeEvent = function (args) {
512
508
  var isBladeAlreadyShown = false;
513
509
  this.blades.forEach(function (blade) {
514
- if (blade.path === args.path) {
510
+ if (blade.path.toLowerCase() === args.path.toLowerCase()) {
515
511
  // Blade is already shown, just activate it again
516
512
  blade.onActivate();
517
513
  isBladeAlreadyShown = true;
@@ -538,7 +534,7 @@ var angularportalazure;
538
534
  return;
539
535
  }
540
536
  var portalcontent = null;
541
- this.portalService.$analytics.pageTrack(path);
537
+ this.portalService.$analytics.pageTrack(path.toLowerCase());
542
538
  path = path.toLowerCase();
543
539
  senderPath = senderPath.toLowerCase();
544
540
  // #region Verify
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.322",
5
+ "version": "0.2.324",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {