diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index 524796e..1684ec0 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -38,7 +38,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo $scope.isListViewDataLoaded = true; $scope.setActiveTab = function (tabToSet) { - debugger; + $scope.activeTab = tabToSet; localStorage.setItem("activeTab", $scope.activeTab); if ($scope.activeTab == 1) { @@ -124,7 +124,7 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo //}); $scope.isOpenBtnClicked = false; $scope.openModuleItemView = function (event) { - debugger; + localStorage.setItem("activeTab", $scope.activeTab); //0. Get selected Image Id if ($scope.isListViewButtonClicked == true) { @@ -1569,7 +1569,7 @@ function openModuleItemView(event) { } function openListViewModuleItem(event) { - debugger; + var scope = angular.element(document.getElementById("list-view")).scope(); scope.isListViewButtonClicked = true; scope.$apply(function () { @@ -1578,7 +1578,7 @@ function openListViewModuleItem(event) { } function openCurrentView(event) { - debugger; + var scope = angular.element(document.getElementById("list-view")).scope(); scope.isOpenBtnClicked = true; scope.$apply(function () {