Commit bf715664e8532dafedd9c5d17476225baebee6de

Authored by Mukul Rajput
1 parent 5dbbac43

this is for printheight issue

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -3341,9 +3341,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic @@ -3341,9 +3341,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
3341 document.getElementById('spnBodyViewTitlePor').innerHTML = curPosture; 3341 document.getElementById('spnBodyViewTitlePor').innerHTML = curPosture;
3342 document.getElementById('spnModuleLan').innerHTML = curModule; 3342 document.getElementById('spnModuleLan').innerHTML = curModule;
3343 document.getElementById('spnBodyViewTitleLan').innerHTML = curPosture; 3343 document.getElementById('spnBodyViewTitleLan').innerHTML = curPosture;
3344 - if ($('#dvPPImg').length > 0) {  
3345 - $("#dvPPImg").css('width', $(window).outerWidth());  
3346 - $("#dvPPImg").css('height', $(window).outerHeight()); 3344 + if ($('#printcontainer').length > 0) {
  3345 + $("#printcontainer").css('width', $(window).outerWidth());
  3346 + $("#printcontainer").css('height', $(window).outerHeight());
3347 } 3347 }
3348 }, 320); 3348 }, 320);
3349 } 3349 }
400-SOURCECODE/AIAHTML5.Web/app/views/Home/printPreview.html
@@ -30,7 +30,7 @@ @@ -30,7 +30,7 @@
30 </div> 30 </div>
31 <div class="clearfix"></div> 31 <div class="clearfix"></div>
32 </div> 32 </div>
33 - <div class="pp-col-sm-12 well" align="center" id="dvPPImg" style="overflow-y: auto;"> 33 + <div class="pp-col-sm-12 well" align="center" id="printcontainer" style="overflow-y: auto;">
34 <div class="print-paper" id="dvPP"> 34 <div class="print-paper" id="dvPP">
35 <div class="print-box portrait-box" id="printBoxPor"> 35 <div class="print-box portrait-box" id="printBoxPor">
36 <div id="printDivContent"> 36 <div id="printDivContent">