From 5dbbac4358b0274651758d2efdcc8119fc964092 Mon Sep 17 00:00:00 2001 From: Mukul Date: Fri, 31 Mar 2017 12:39:31 +0530 Subject: [PATCH] this is for printpreview height issue --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 6 +++++- 400-SOURCECODE/AIAHTML5.Web/app/views/Home/printPreview.html | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index dd9a850..5a8e3e4 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -3341,6 +3341,10 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic document.getElementById('spnBodyViewTitlePor').innerHTML = curPosture; document.getElementById('spnModuleLan').innerHTML = curModule; document.getElementById('spnBodyViewTitleLan').innerHTML = curPosture; + if ($('#dvPPImg').length > 0) { + $("#dvPPImg").css('width', $(window).outerWidth()); + $("#dvPPImg").css('height', $(window).outerHeight()); + } }, 320); } @@ -3369,7 +3373,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic top: 70, left: 1, }, - size: { width: $(window).outerWidth() - 10, height: $(window).outerHeight() - 110 }, + size: { width: $(window).outerWidth(), height: $(window).outerHeight() + 60}, }); } diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/Home/printPreview.html b/400-SOURCECODE/AIAHTML5.Web/app/views/Home/printPreview.html index 685a30e..0a0cb74 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/Home/printPreview.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/Home/printPreview.html @@ -30,7 +30,7 @@
-
+