Commit 7f32607a6e4019752b238b5ebb467857344c50c3

Authored by unknown
1 parent d6c9b9d1

View History Issue

400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
... ... @@ -110,7 +110,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
110 110 //});
111 111 $scope.isOpenBtnClicked = false;
112 112 $scope.openModuleItemView = function (event) {
113   -
  113 +
114 114 //0. Get selected Image Id
115 115 if ($scope.isListViewButtonClicked == true) {
116 116 if ($scope.isOpenBtnClicked == true) {
... ... @@ -128,7 +128,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
128 128 var moduleItemDataToBeSaved = event.target.id;
129 129 $scope.isListViewButtonClicked = false;
130 130 }
131   -
  131 +
132 132 //1.Filter selected module ietem data and get the pushed opened moduile array object
133 133 $rootScope.OpenedTileData = ModuleService.GetOpenedTileData(moduleItemDataToBeSaved, $scope.moduleLandingData);
134 134  
... ... @@ -151,6 +151,8 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo
151 151 $scope.openListViewModuleItem = function (event) {
152 152 $("#demoView").remove();
153 153 var moduleItemDataToBeSavedID = event.currentTarget.id;
  154 + $("#list-view table tbody tr").removeClass("active");
  155 + $("#list-view table tbody #" + moduleItemDataToBeSavedID).addClass("active");
154 156 var moduleItemDataToBeSaved = $("#list-view table tbody #" + moduleItemDataToBeSavedID).find('td:eq(0)').text();
155 157 $rootScope.OpenedTileData = ModuleService.GetOpenedTileData(moduleItemDataToBeSaved, $scope.moduleLandingData);
156 158 $rootScope.OpenItemImagePath = "../../../content/images/aa/images/" + $rootScope.OpenedTileData[3];
... ...