From 9cdf37cd311cd2bc92998532a1063542d1412524 Mon Sep 17 00:00:00 2001 From: Mukul Date: Wed, 11 Oct 2017 13:55:08 +0530 Subject: [PATCH] this is soluiton for AA printpriview issue --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index d194d6b..00e2c77 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -4273,6 +4273,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $("#printcontainer").css('width', $(window).outerWidth()); $("#printcontainer").css('height', $(window).outerHeight()); } + if ($location.url() == "/module-item-view") { + $("#aaDetailViewCanvas").css("display", "none"); + } }, 520); } else { @@ -4287,6 +4290,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $("#printcontainer").css('width', $(window).outerWidth()); $("#printcontainer").css('height', $(window).outerHeight()); } + if ($location.url() == "/module-item-view") { + $("#aaDetailViewCanvas").css("display", "none"); + } }, 320); } @@ -4436,6 +4442,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $("#annotationToolBarOptions").removeClass("disableMenuoption"); $("#optionsListManagerTab").removeClass("disableMenuoption"); $('#fileMenuAnchor').parent().removeClass('disableFileMenu'); + $("#aaDetailViewCanvas").css("display", "block"); if ($('#jsPanel-1').length > 0) $('#jsPanel-1').remove(); console.log('close'); -- libgit2 0.21.4