diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index 3ef662e..2dde84e 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -150,6 +150,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou //}); $scope.isOpenBtnClicked = false; $scope.openModuleItemView = function (event) { + $rootScope.MenuModuleName = "AA"; localStorage.setItem("activeTab", $scope.activeTab); //0. Get selected Image Id @@ -191,6 +192,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou //3. Navigate to the Module-item-view var u = $location.url(); $location.url('/module-item-view'); + } @@ -262,6 +264,8 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou var aaViewElement = angular.element(document.getElementById(moduleItemViewDivId)); //0.4 for Opening module item, load it into image + $rootScope.isLoading = true; + $('#spinner').css('visibility', 'visible'); var openedImage = new Image(); openedImage.id = 'modItemImage'; openedImage.name = $rootScope.OpenItemImagePath; @@ -318,7 +322,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou openedImage.onerror = loadFailure; openedImage.src = $rootScope.OpenItemImagePath; } - + } $scope.highlightBodySystemList = function () {