Commit 542452c8b92bbba9732f868e03a79d4441cbfad6
Merge branch 'printdisableannotationmodel' into Develop
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 | 418 | var currentRoute = $location.path().substring(1); |
419 | 419 | return moduleUrl === currentRoute ? 'active' : ''; |
420 | 420 | } |
421 | - | |
421 | + $("#annotationToolBarOptions").removeClass("disableMenuoption"); | |
422 | 422 | if (($location.url() == "/da-body-view")) { |
423 | 423 | $rootScope.disableMenuannotation = " "; |
424 | 424 | $rootScope.disableMenuoption = " "; |
... | ... | @@ -3312,6 +3312,8 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
3312 | 3312 | }; |
3313 | 3313 | |
3314 | 3314 | $rootScope.ShowPrintPreviewWindow = function (event) { // Print Preview |
3315 | + $("#annotationButton").parent().addClass("disableMenuannotation"); | |
3316 | + $("#annotationToolBarOptions").addClass("disableMenuoption"); | |
3315 | 3317 | $('#dvPrintPreview').css('display', 'block'); |
3316 | 3318 | html2canvas($("#canvasDiv"), { |
3317 | 3319 | onrendered: function (canvas) { | ... | ... |