@ardimedia/angular-portal-azure 0.2.28 → 0.2.30

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
@@ -1053,7 +1053,7 @@ var angularportalazure;
1053
1053
  link: function (scope, element, attrs, controller) {
1054
1054
  //console.log('grid.link()');
1055
1055
  //console.log(this);
1056
- angular.forEach(scope.vm.items, function (item) {
1056
+ angular.forEach(controller.vm.items, function (item) {
1057
1057
  // Set some default values, depending on existing values
1058
1058
  if (item.isVisible == undefined) {
1059
1059
  item.isVisible = true;
@@ -1106,11 +1106,7 @@ var angularportalazure;
1106
1106
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
1107
1107
  link: function (scope, element, attrs, controller) {
1108
1108
  //console.log('nav.link()');
1109
- console.log(this);
1110
- console.log(scope);
1111
- console.log(element);
1112
- console.log(attrs);
1113
- console.log(controller);
1109
+ //console.log(this);
1114
1110
  angular.forEach(controller.vm.navItems, function (item) {
1115
1111
  // Set some default values, depending on existing values
1116
1112
  if (item.isVisible == undefined) {
@@ -8,7 +8,7 @@
8
8
  link: function (scope, element, attrs, controller) {
9
9
  //console.log('grid.link()');
10
10
  //console.log(this);
11
- angular.forEach(scope.vm.items, function (item) {
11
+ angular.forEach(controller.vm.items, function (item) {
12
12
  // Set some default values, depending on existing values
13
13
  if (item.isVisible == undefined) { item.isVisible = true; }
14
14
  if (item.title == undefined || item.title == '') { item.style = { cursor: 'default' }; }
@@ -7,11 +7,7 @@
7
7
  templateUrl: '/node_modules/@ardimedia/angular-portal-azure/directives/nav/nav.html',
8
8
  link: function (scope, element, attrs, controller) {
9
9
  //console.log('nav.link()');
10
- console.log(this);
11
- console.log(scope);
12
- console.log(element);
13
- console.log(attrs);
14
- console.log(controller);
10
+ //console.log(this);
15
11
  angular.forEach(controller.vm.navItems, function (item) {
16
12
  // Set some default values, depending on existing values
17
13
  if (item.isVisible == undefined) { item.isVisible = true; }
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.28",
5
+ "version": "0.2.30",
6
6
  "main": "index.js",
7
7
  "typings": "apn.d.ts",
8
8
  "dependencies": {