Commit bd7fb6184a3fef82ee08f564eff4c9d90e257185
1 parent
dd0be099
renamed a variable which created issue. sometimes space is created between name.
This created issue in opening view after closing jspanel sometimes.
Showing
4 changed files
with
7 additions
and
7 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
... | ... | @@ -441,7 +441,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
441 | 441 | if (openViews != null && openViews != undefined) { |
442 | 442 | angular.forEach(openViews, function (value, key) { |
443 | 443 | |
444 | - if (value.body - views == tittle) { | |
444 | + if (value.bodyView == tittle) { | |
445 | 445 | tittle = localStorage.getItem("currentViewTitleFromJson") + counter++; |
446 | 446 | $rootScope.currentActiveViewTitle = tittle; |
447 | 447 | localStorage.setItem("currentViewTitle", tittle); |
... | ... | @@ -480,7 +480,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
480 | 480 | //0.2 |
481 | 481 | $rootScope.openViews.push( |
482 | 482 | { |
483 | - "module": $rootScope.currentActiveModuleTitle, "body-views": tittle, "state": 'max', "BodyViewId": $rootScope.currentBodyViewId, | |
483 | + "module": $rootScope.currentActiveModuleTitle, "bodyView": tittle, "state": 'max', "BodyViewId": $rootScope.currentBodyViewId, | |
484 | 484 | "slug": $rootScope.currentSlug |
485 | 485 | } |
486 | 486 | ); |
... | ... | @@ -5556,7 +5556,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
5556 | 5556 | |
5557 | 5557 | $rootScope.openViews.push( |
5558 | 5558 | { |
5559 | - "module": $rootScope.currentActiveModuleTitle, "body-views": localStorage.getItem("currentViewTitle"), "state": 'max', "BodyViewId": currentBodyViewId, | |
5559 | + "module": $rootScope.currentActiveModuleTitle, "bodyView": localStorage.getItem("currentViewTitle"), "state": 'max', "BodyViewId": currentBodyViewId, | |
5560 | 5560 | "slug": $rootScope.currentSlug |
5561 | 5561 | } |
5562 | 5562 | ); |
... | ... | @@ -5732,7 +5732,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo |
5732 | 5732 | |
5733 | 5733 | $rootScope.openViews.push( |
5734 | 5734 | { |
5735 | - "module": $rootScope.currentActiveModuleTitle, "body-views": localStorage.getItem("currentViewTitle"), "state": 'max', "BodyViewId": $rootScope.voId, | |
5735 | + "module": $rootScope.currentActiveModuleTitle, "bodyView": localStorage.getItem("currentViewTitle"), "state": 'max', "BodyViewId": $rootScope.voId, | |
5736 | 5736 | "slug": $rootScope.currentSlug |
5737 | 5737 | } |
5738 | 5738 | ); | ... | ... |
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -77,7 +77,7 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", |
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 | ); | ... | ... |