Commit e237c0205ac23292dbdff632bab778dbf76d5e33

Authored by unknown
1 parent dbb56fee

Commit Changes

400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
... ... @@ -84,6 +84,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
84 84 var moduleItemDataToBeSavedID
85 85 $("#list-view table tbody tr").removeClass("active");
86 86 var moduleItemDataToBeSavedID = localStorage.getItem("listViewSelectedID");
  87 + alert(moduleItemDataToBeSavedID);
87 88 $("#list-view table tbody #" + moduleItemDataToBeSavedID).addClass("active");
88 89 $scope.isListViewButtonClicked = true;
89 90 // }
... ... @@ -124,7 +125,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
124 125 //});
125 126 $scope.isOpenBtnClicked = false;
126 127 $scope.openModuleItemView = function (event) {
127   -
  128 + debugger;
128 129 localStorage.setItem("activeTab", $scope.activeTab);
129 130 //0. Get selected Image Id
130 131 if ($scope.isListViewButtonClicked == true) {
... ... @@ -135,14 +136,14 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
135 136 }
136 137 else {
137 138 var moduleItemDataToBeSavedID = event.currentTarget.id;
138   - // localStorage.setItem("listViewSelectedID", moduleItemDataToBeSavedID);
  139 + localStorage.setItem("listViewSelectedID", moduleItemDataToBeSavedID);
139 140 var moduleItemDataToBeSaved = $("#list-view table tbody #" + moduleItemDataToBeSavedID).find('td:eq(0)').text();
140 141 }
141 142 }
142 143 else
143 144 {
144 145 var moduleItemDataToBeSaved = event.target.id;
145   - // localStorage.setItem("listViewSelectedID", moduleItemDataToBeSavedID);
  146 + localStorage.setItem("listViewSelectedID", event.currentTarget.id);
146 147 $scope.isListViewButtonClicked = false;
147 148 }
148 149  
... ...