From bf715664e8532dafedd9c5d17476225baebee6de Mon Sep 17 00:00:00 2001 From: Mukul Date: Fri, 31 Mar 2017 12:51:22 +0530 Subject: [PATCH] this is for printheight issue --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 6 +++--- 400-SOURCECODE/AIAHTML5.Web/app/views/Home/printPreview.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 5a8e3e4..111dc7f 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -3341,9 +3341,9 @@ 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()); + if ($('#printcontainer').length > 0) { + $("#printcontainer").css('width', $(window).outerWidth()); + $("#printcontainer").css('height', $(window).outerHeight()); } }, 320); } diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/Home/printPreview.html b/400-SOURCECODE/AIAHTML5.Web/app/views/Home/printPreview.html index 0a0cb74..1ab6ca7 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 @@
-
+