Commit 6bcd834ec942273d373a55da1258b072113b72a9

Authored by unknown
1 parent 6216f09f

Atlas Anatomy loads slow so put wait cursor as well as the left tool bar show not appear delay.

400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
@@ -274,7 +274,9 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou @@ -274,7 +274,9 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
274 $scope.imageWidth = this.width; 274 $scope.imageWidth = this.width;
275 $scope.imageHeight = this.height; 275 $scope.imageHeight = this.height;
276 276
  277 + $('#aaBodyView').css("height", $(window).outerHeight());
277 278
  279 + $('#aaBodyView').css("width", $(window).outerWidth());
278 $timeout(function () { 280 $timeout(function () {
279 $compile(aaViewElement.contents())($scope); 281 $compile(aaViewElement.contents())($scope);
280 282
@@ -282,9 +284,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou @@ -282,9 +284,7 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou
282 if (document.getElementById('aaBodyView') != null) { 284 if (document.getElementById('aaBodyView') != null) {
283 285
284 //0.4 added some stylesheets 286 //0.4 added some stylesheets
285 - $('#aaBodyView').css("height", $(window).outerHeight());  
286 -  
287 - $('#aaBodyView').css("width", $(window).outerWidth()); 287 +
288 288
289 $rootScope.canvasDivHeight = $('.jsPanel-content').height() - $('.main2 .stickey-area').height(); 289 $rootScope.canvasDivHeight = $('.jsPanel-content').height() - $('.main2 .stickey-area').height();
290 290