diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 030a65c..4fb747b 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -4312,6 +4312,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); } @@ -4329,6 +4332,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); } @@ -4486,7 +4491,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');