Commit 23661fb73d16414e2e1267a53e35178dd0ade5d0
1 parent
b1c2b210
Loader Added In Atlas Anatomy Page
Showing
1 changed file
with
5 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
... | ... | @@ -150,6 +150,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou |
150 | 150 | //}); |
151 | 151 | $scope.isOpenBtnClicked = false; |
152 | 152 | $scope.openModuleItemView = function (event) { |
153 | + | |
153 | 154 | $rootScope.MenuModuleName = "AA"; |
154 | 155 | localStorage.setItem("activeTab", $scope.activeTab); |
155 | 156 | //0. Get selected Image Id |
... | ... | @@ -191,6 +192,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou |
191 | 192 | //3. Navigate to the Module-item-view |
192 | 193 | var u = $location.url(); |
193 | 194 | $location.url('/module-item-view'); |
195 | + | |
194 | 196 | } |
195 | 197 | |
196 | 198 | |
... | ... | @@ -262,6 +264,8 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou |
262 | 264 | var aaViewElement = angular.element(document.getElementById(moduleItemViewDivId)); |
263 | 265 | |
264 | 266 | //0.4 for Opening module item, load it into image |
267 | + $rootScope.isLoading = true; | |
268 | + $('#spinner').css('visibility', 'visible'); | |
265 | 269 | var openedImage = new Image(); |
266 | 270 | openedImage.id = 'modItemImage'; |
267 | 271 | openedImage.name = $rootScope.OpenItemImagePath; |
... | ... | @@ -318,7 +322,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou |
318 | 322 | openedImage.onerror = loadFailure; |
319 | 323 | openedImage.src = $rootScope.OpenItemImagePath; |
320 | 324 | } |
321 | - | |
325 | + | |
322 | 326 | } |
323 | 327 | |
324 | 328 | $scope.highlightBodySystemList = function () { | ... | ... |