Commit 305eb706e4fd501f80f18e1e2f7a47b5f13fa8de
1 parent
25dcbbd4
renamed the variable.
earlier the space was created in between this variable words.
Showing
4 changed files
with
9 additions
and
9 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js
... | ... | @@ -360,7 +360,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, pages, B |
360 | 360 | |
361 | 361 | $rootScope.openViews.push( |
362 | 362 | { |
363 | - "module": $rootScope.currentActiveModuleTitle, "body-views": tittle, "state": 'max', "BodyViewId": $rootScope.currentBodyViewId, | |
363 | + "module": $rootScope.currentActiveModuleTitle, "bodyView": tittle, "state": 'max', "BodyViewId": $rootScope.currentBodyViewId, | |
364 | 364 | "slug": $rootScope.currentSlug |
365 | 365 | }); |
366 | 366 | ... | ... |
400-SOURCECODE/AIAHTML5.Web/app/controllers/CIController.js
... | ... | @@ -426,7 +426,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout |
426 | 426 | |
427 | 427 | $rootScope.openViews.push( |
428 | 428 | { |
429 | - "module": $rootScope.currentActiveModuleTitle, "body-views": tittle, "state": 'max', "BodyViewId": $rootScope.currentBodyViewId, | |
429 | + "module": $rootScope.currentActiveModuleTitle, "bodyView": tittle, "state": 'max', "BodyViewId": $rootScope.currentBodyViewId, | |
430 | 430 | "slug": $rootScope.currentSlug |
431 | 431 | }); |
432 | 432 | ... | ... |
400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... | ... | @@ -382,7 +382,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
382 | 382 | if (openViews != null && openViews != undefined) { |
383 | 383 | angular.forEach(openViews, function (value, key) { |
384 | 384 | |
385 | - if (value.body - views == tittle) { | |
385 | + if (value.bodyView == tittle) { | |
386 | 386 | tittle = localStorage.getItem("currentViewTitleFromJson") + counter++; |
387 | 387 | $rootScope.currentActiveViewTitle = tittle; |
388 | 388 | localStorage.setItem("currentViewTitle", tittle); |
... | ... | @@ -421,7 +421,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
421 | 421 | //0.2 |
422 | 422 | $rootScope.openViews.push( |
423 | 423 | { |
424 | - "module": $rootScope.currentActiveModuleTitle, "body-views": tittle, "state": 'max', "BodyViewId": $rootScope.currentBodyViewId, | |
424 | + "module": $rootScope.currentActiveModuleTitle, "bodyView": tittle, "state": 'max', "BodyViewId": $rootScope.currentBodyViewId, | |
425 | 425 | "slug": $rootScope.currentSlug |
426 | 426 | } |
427 | 427 | ); |
... | ... | @@ -5435,7 +5435,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
5435 | 5435 | |
5436 | 5436 | $rootScope.openViews.push( |
5437 | 5437 | { |
5438 | - "module": $rootScope.currentActiveModuleTitle, "body-views": localStorage.getItem("currentViewTitle"), "state": 'max', "BodyViewId": currentBodyViewId, | |
5438 | + "module": $rootScope.currentActiveModuleTitle, "bodyView": localStorage.getItem("currentViewTitle"), "state": 'max', "BodyViewId": currentBodyViewId, | |
5439 | 5439 | "slug": $rootScope.currentSlug |
5440 | 5440 | } |
5441 | 5441 | ); |
... | ... | @@ -5619,7 +5619,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
5619 | 5619 | |
5620 | 5620 | $rootScope.openViews.push( |
5621 | 5621 | { |
5622 | - "module": $rootScope.currentActiveModuleTitle, "body-views": localStorage.getItem("currentViewTitle"), "state": 'max', "BodyViewId": $rootScope.voId, | |
5622 | + "module": $rootScope.currentActiveModuleTitle, "bodyView": localStorage.getItem("currentViewTitle"), "state": 'max', "BodyViewId": $rootScope.voId, | |
5623 | 5623 | "slug": $rootScope.currentSlug |
5624 | 5624 | } |
5625 | 5625 | ); | ... | ... |
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -66,18 +66,18 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", |
66 | 66 | |
67 | 67 | var alreadyOpenThisView = new jinqJs() |
68 | 68 | .from($rootScope.openViews) |
69 | - .where("body-views == " + title) | |
69 | + .where("bodyView == " + title) | |
70 | 70 | .select(); |
71 | 71 | var k = 0; |
72 | 72 | if (alreadyOpenThisView != null) { |
73 | 73 | for (var i = 0; i < $rootScope.openViews.length; i++) { |
74 | 74 | k++; |
75 | - if ($rootScope.openViews[i].body-views == title) { | |
75 | + if ($rootScope.openViews[i].bodyView == title) { | |
76 | 76 | $rootScope.openViews.splice((k - 1), 1); |
77 | 77 | |
78 | 78 | $rootScope.openViews.push( |
79 | 79 | { |
80 | - "module": $rootScope.currentActiveModuleTitle, "body-views": title, "state": state, "BodyViewId": $rootScope.currentBodyViewId, | |
80 | + "module": $rootScope.currentActiveModuleTitle, "bodyView": title, "state": state, "BodyViewId": $rootScope.currentBodyViewId, | |
81 | 81 | "slug": $rootScope.currentSlug |
82 | 82 | } |
83 | 83 | ); | ... | ... |