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