Commit 38ca5649806a15bb37b05765bc59a97ddc6246fc
1 parent
65a6a611
Commit Changes
Showing
1 changed file
with
11 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -4236,6 +4236,17 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -4236,6 +4236,17 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
4236 | }; | 4236 | }; |
4237 | 4237 | ||
4238 | $rootScope.ShowPrintPreviewWindow = function (event) { // Print Preview | 4238 | $rootScope.ShowPrintPreviewWindow = function (event) { // Print Preview |
4239 | + if ($location.url() == "/module-item-view") { | ||
4240 | + if ($("#hidePinBtn").hasClass("btn-primary")) { | ||
4241 | + $rootScope.isHidePinBtnActiveInPrintPreview = true; | ||
4242 | + } | ||
4243 | + if ($("#selectedPin").hasClass("btn-primary")) { | ||
4244 | + $rootScope.isShowSelectedPinActiveInPrintPrevMode = true; | ||
4245 | + } | ||
4246 | + if ($("#allPinBtn").hasClass("btn-primary")) { | ||
4247 | + $rootScope.isShowAllPinBtnActiveInPrintPreviewMode = true; | ||
4248 | + } | ||
4249 | + } | ||
4239 | $(".tools").css("z-index", "1029"); | 4250 | $(".tools").css("z-index", "1029"); |
4240 | $rootScope.CloseListManager(); | 4251 | $rootScope.CloseListManager(); |
4241 | $rootScope.CloseAnnotationTool(); | 4252 | $rootScope.CloseAnnotationTool(); |