Commit 49305dcff55a72d891ca89a1470aef5d15161191
1 parent
12b5cecc
Atlas anatomy JSPanel restore/ maximize issue
Showing
2 changed files
with
6 additions
and
2 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js
@@ -264,9 +264,13 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | @@ -264,9 +264,13 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou | ||
264 | $timeout(function () { | 264 | $timeout(function () { |
265 | $compile(aaViewElement.contents())($scope); | 265 | $compile(aaViewElement.contents())($scope); |
266 | 266 | ||
267 | - if (document.getElementById('aaDetailPageDiv') != null) { | 267 | + //if (document.getElementById('aaDetailPageDiv') != null) { |
268 | + if (document.getElementById('aaBodyView') != null) { | ||
268 | 269 | ||
269 | //0.4 added some stylesheets | 270 | //0.4 added some stylesheets |
271 | + $('#aaBodyView').css("height", $(window).outerHeight()); | ||
272 | + | ||
273 | + $('#aaBodyView').css("width", $(window).outerWidth()); | ||
270 | 274 | ||
271 | $rootScope.canvasDivHeight = $('.jsPanel-content').height() - $('.main2 .stickey-area').height(); | 275 | $rootScope.canvasDivHeight = $('.jsPanel-content').height() - $('.main2 .stickey-area').height(); |
272 | 276 |
400-SOURCECODE/AIAHTML5.Web/app/views/module-item-view.html
1 | <div> | 1 | <div> |
2 | <div ng-include="aap/widget/MainMenu.html"></div> | 2 | <div ng-include="aap/widget/MainMenu.html"></div> |
3 | - <div ng-init="openModuleItem()" id="" class="aaBodyView" ng-controller="TileViewListController"></div> | 3 | + <div ng-init="openModuleItem()" id="aaBodyView" class="aaBodyView" ng-controller="TileViewListController"></div> |
4 | <!--<div > | 4 | <!--<div > |
5 | 5 | ||
6 | </div>--> | 6 | </div>--> |