Commit 23661fb73d16414e2e1267a53e35178dd0ade5d0

Authored by unknown
1 parent b1c2b210

Loader Added In Atlas Anatomy Page

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