From 9d4195b2d5efb26112bbaee8f81e9f6a3f261846 Mon Sep 17 00:00:00 2001 From: Mukul Date: Thu, 12 Oct 2017 16:10:02 +0530 Subject: [PATCH] this is solution for the bug 23843 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 0d1a77c..badc93b 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -4310,6 +4310,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic } if ($location.url() == "/module-item-view") { $("#aaDetailViewCanvas").css("display", "none"); + $("#canvasPaint").css("display", "none"); + $("#canvas").css("display", "none"); + } }, 520); } @@ -4327,6 +4330,8 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic } if ($location.url() == "/module-item-view") { $("#aaDetailViewCanvas").css("display", "none"); + $("#canvasPaint").css("display", "none"); + $("#canvas").css("display", "none"); } }, 320); } @@ -4484,7 +4489,11 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $("#annotationToolBarOptions").removeClass("disableMenuoption"); $("#optionsListManagerTab").removeClass("disableMenuoption"); $('#fileMenuAnchor').parent().removeClass('disableFileMenu'); - $("#aaDetailViewCanvas").css("display", "block"); + if ($location.url() == "/module-item-view") { + $("#aaDetailViewCanvas").css("display", "block"); + $("#canvasPaint").css("display", "block"); + $("#canvas").css("display", "block"); + } if ($('#jsPanel-1').length > 0) $('#jsPanel-1').remove(); console.log('close'); -- libgit2 0.21.4