diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
index 42ae799..777c369 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -4236,6 +4236,17 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
};
$rootScope.ShowPrintPreviewWindow = function (event) { // Print Preview
+ if ($location.url() == "/module-item-view") {
+ if ($("#hidePinBtn").hasClass("btn-primary")) {
+ $rootScope.isHidePinBtnActiveInPrintPreview = true;
+ }
+ if ($("#selectedPin").hasClass("btn-primary")) {
+ $rootScope.isShowSelectedPinActiveInPrintPrevMode = true;
+ }
+ if ($("#allPinBtn").hasClass("btn-primary")) {
+ $rootScope.isShowAllPinBtnActiveInPrintPreviewMode = true;
+ }
+ }
$(".tools").css("z-index", "1029");
$rootScope.CloseListManager();
$rootScope.CloseAnnotationTool();