@ardimedia/angular-portal-azure 0.2.10 → 0.2.11

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 CHANGED
@@ -916,11 +916,15 @@ var angularportalazure;
916
916
  // //#endregion
917
917
  //},
918
918
  controller: function () {
919
- this.vm.close = function () {
920
- console.log('azurePortalBlade.close()');
921
- //angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
922
- //portalService.bladeArea.clearLastLevel();
919
+ this.blade = this.vm.blade;
920
+ this.contentTitle = this.vm.contentTitle;
921
+ this.contentSubTitle = this.vm.contentSubTitle;
922
+ this.isNav = this.vm.isNav;
923
+ this.close = function () {
924
+ angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
925
+ portalService.bladeArea.clearLastLevel();
923
926
  };
927
+ this.vm.close = this.close;
924
928
  },
925
929
  controllerAs: 'vm'
926
930
  };
@@ -26,11 +26,16 @@ namespace angularportalazure {
26
26
  // //#endregion
27
27
  //},
28
28
  controller: function () {
29
- this.vm.close = () => {
30
- console.log('azurePortalBlade.close()');
31
- //angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
32
- //portalService.bladeArea.clearLastLevel();
33
- };
29
+ this.blade = this.vm.blade;
30
+ this.contentTitle = this.vm.contentTitle;
31
+ this.contentSubTitle = this.vm.contentSubTitle;
32
+ this.isNav = this.vm.isNav;
33
+
34
+ this.close = function () {
35
+ angularportalazure.Debug.write('[angularportalazure-debug] \'directive:azurePortalBlade.close\' called.', [this, portalService]);
36
+ portalService.bladeArea.clearLastLevel();
37
+ };
38
+ this.vm.close = this.close;
34
39
  },
35
40
  controllerAs: 'vm'
36
41
  };
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.10",
5
+ "version": "0.2.11",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {