Commit 9cdf37cd311cd2bc92998532a1063542d1412524
1 parent
d9ced140
this is soluiton for AA printpriview issue
Showing
1 changed file
with
7 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -4273,6 +4273,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
4273 | 4273 | $("#printcontainer").css('width', $(window).outerWidth()); |
4274 | 4274 | $("#printcontainer").css('height', $(window).outerHeight()); |
4275 | 4275 | } |
4276 | + if ($location.url() == "/module-item-view") { | |
4277 | + $("#aaDetailViewCanvas").css("display", "none"); | |
4278 | + } | |
4276 | 4279 | }, 520); |
4277 | 4280 | } |
4278 | 4281 | else { |
... | ... | @@ -4287,6 +4290,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
4287 | 4290 | $("#printcontainer").css('width', $(window).outerWidth()); |
4288 | 4291 | $("#printcontainer").css('height', $(window).outerHeight()); |
4289 | 4292 | } |
4293 | + if ($location.url() == "/module-item-view") { | |
4294 | + $("#aaDetailViewCanvas").css("display", "none"); | |
4295 | + } | |
4290 | 4296 | }, 320); |
4291 | 4297 | } |
4292 | 4298 | |
... | ... | @@ -4436,6 +4442,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
4436 | 4442 | $("#annotationToolBarOptions").removeClass("disableMenuoption"); |
4437 | 4443 | $("#optionsListManagerTab").removeClass("disableMenuoption"); |
4438 | 4444 | $('#fileMenuAnchor').parent().removeClass('disableFileMenu'); |
4445 | + $("#aaDetailViewCanvas").css("display", "block"); | |
4439 | 4446 | if ($('#jsPanel-1').length > 0) |
4440 | 4447 | $('#jsPanel-1').remove(); |
4441 | 4448 | console.log('close'); | ... | ... |