Commit 97ede35d1d1db1ec863b7a70c4792df7f3bdb755

Authored by Utkarsh Singh
1 parent bdbd138b

Committing updated code refs: 21269

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