Commit 97ede35d1d1db1ec863b7a70c4792df7f3bdb755
1 parent
bdbd138b
Committing updated code refs: 21269
Showing
1 changed file
with
1 additions
and
3 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
... | ... | @@ -101,7 +101,6 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou |
101 | 101 | $scope.openModuleItemView = function (event) { |
102 | 102 | $rootScope.MenuModuleName = "AA"; |
103 | 103 | localStorage.setItem("activeTab", $scope.activeTab); |
104 | - $scope.isListViewButtonClicked = true; | |
105 | 104 | //0. Get selected Image Id |
106 | 105 | if ($scope.isListViewButtonClicked == true) { |
107 | 106 | if ($scope.isOpenBtnClicked == true) { |
... | ... | @@ -144,7 +143,6 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou |
144 | 143 | |
145 | 144 | |
146 | 145 | $scope.openListViewModuleItem = function (event) { |
147 | - $scope.isListViewButtonClicked = true; | |
148 | 146 | $("#demoView").remove(); |
149 | 147 | var moduleItemDataToBeSavedID = event.currentTarget.id; |
150 | 148 | $("#list-view table tbody tr").removeClass("active"); |
... | ... | @@ -1807,8 +1805,8 @@ function openListViewModuleItem(event) { |
1807 | 1805 | } |
1808 | 1806 | |
1809 | 1807 | function openCurrentView(event) { |
1810 | - | |
1811 | 1808 | var scope = angular.element(document.getElementById("list-view")).scope(); |
1809 | + scope.isListViewButtonClicked = true; | |
1812 | 1810 | scope.isOpenBtnClicked = true; |
1813 | 1811 | scope.$apply(function () { |
1814 | 1812 | scope.openModuleItemView(event); | ... | ... |