Commit c087c4e3d27274d5b52204048df8c88ef8795cad
1 parent
7699e517
this is for the bug 1603
Showing
1 changed file
with
3 additions
and
1 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -418,7 +418,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -418,7 +418,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
418 | var currentRoute = $location.path().substring(1); | 418 | var currentRoute = $location.path().substring(1); |
419 | return moduleUrl === currentRoute ? 'active' : ''; | 419 | return moduleUrl === currentRoute ? 'active' : ''; |
420 | } | 420 | } |
421 | - | 421 | + $("#annotationToolBarOptions").removeClass("disableMenuoption"); |
422 | if (($location.url() == "/da-body-view")) { | 422 | if (($location.url() == "/da-body-view")) { |
423 | $rootScope.disableMenuannotation = " "; | 423 | $rootScope.disableMenuannotation = " "; |
424 | $rootScope.disableMenuoption = " "; | 424 | $rootScope.disableMenuoption = " "; |
@@ -3308,6 +3308,8 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -3308,6 +3308,8 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
3308 | }; | 3308 | }; |
3309 | 3309 | ||
3310 | $rootScope.ShowPrintPreviewWindow = function (event) { // Print Preview | 3310 | $rootScope.ShowPrintPreviewWindow = function (event) { // Print Preview |
3311 | + $("#annotationButton").parent().addClass("disableMenuannotation"); | ||
3312 | + $("#annotationToolBarOptions").addClass("disableMenuoption"); | ||
3311 | $('#dvPrintPreview').css('display', 'block'); | 3313 | $('#dvPrintPreview').css('display', 'block'); |
3312 | html2canvas($("#canvasDiv"), { | 3314 | html2canvas($("#canvasDiv"), { |
3313 | onrendered: function (canvas) { | 3315 | onrendered: function (canvas) { |