Commit bf715664e8532dafedd9c5d17476225baebee6de
1 parent
5dbbac43
this is for printheight issue
Showing
2 changed files
with
4 additions
and
4 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -3341,9 +3341,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
3341 | 3341 | document.getElementById('spnBodyViewTitlePor').innerHTML = curPosture; |
3342 | 3342 | document.getElementById('spnModuleLan').innerHTML = curModule; |
3343 | 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 | 3348 | }, 320); |
3349 | 3349 | } | ... | ... |
400-SOURCECODE/AIAHTML5.Web/app/views/Home/printPreview.html
... | ... | @@ -30,7 +30,7 @@ |
30 | 30 | </div> |
31 | 31 | <div class="clearfix"></div> |
32 | 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 | 34 | <div class="print-paper" id="dvPP"> |
35 | 35 | <div class="print-box portrait-box" id="printBoxPor"> |
36 | 36 | <div id="printDivContent"> | ... | ... |