Commit 9d4195b2d5efb26112bbaee8f81e9f6a3f261846

Authored by Mukul Rajput
1 parent c982ce6d

this is solution for the bug 23843

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -4310,6 +4310,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
4310 4310 }
4311 4311 if ($location.url() == "/module-item-view") {
4312 4312 $("#aaDetailViewCanvas").css("display", "none");
  4313 + $("#canvasPaint").css("display", "none");
  4314 + $("#canvas").css("display", "none");
  4315 +
4313 4316 }
4314 4317 }, 520);
4315 4318 }
... ... @@ -4327,6 +4330,8 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
4327 4330 }
4328 4331 if ($location.url() == "/module-item-view") {
4329 4332 $("#aaDetailViewCanvas").css("display", "none");
  4333 + $("#canvasPaint").css("display", "none");
  4334 + $("#canvas").css("display", "none");
4330 4335 }
4331 4336 }, 320);
4332 4337 }
... ... @@ -4484,7 +4489,11 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
4484 4489 $("#annotationToolBarOptions").removeClass("disableMenuoption");
4485 4490 $("#optionsListManagerTab").removeClass("disableMenuoption");
4486 4491 $('#fileMenuAnchor').parent().removeClass('disableFileMenu');
4487   - $("#aaDetailViewCanvas").css("display", "block");
  4492 + if ($location.url() == "/module-item-view") {
  4493 + $("#aaDetailViewCanvas").css("display", "block");
  4494 + $("#canvasPaint").css("display", "block");
  4495 + $("#canvas").css("display", "block");
  4496 + }
4488 4497 if ($('#jsPanel-1').length > 0)
4489 4498 $('#jsPanel-1').remove();
4490 4499 console.log('close');
... ...