From 283620cac8f2d26f9c0b3a960300e81b205e500e Mon Sep 17 00:00:00 2001 From: Mukul Date: Wed, 9 Aug 2017 17:18:55 +0530 Subject: [PATCH] 20320 --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js | 5 ++--- 400-SOURCECODE/AIAHTML5.Web/libs/html2canvas.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js index 73a5216..131b98e 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/TileViewListController.js @@ -247,9 +247,8 @@ function ($scope, $window, $rootScope, $compile, $http, $log, $location, $timeou if (document.getElementById('aaDetailPageDiv') != null) { //0.4 added some stylesheets - $('.aaBodyView').css("height", $(window).outerHeight() - $('.navbar-fixed-top').height()); - $('.aaBodyView').css("width", $(window).outerWidth()); - $rootScope.canvasDivHeight = $('.aaBodyView').height(); + + $rootScope.canvasDivHeight = $('.jsPanel-content').height() - $('.main2 .stickey-area').height(); $('.canvasDivClass').css("height", $rootScope.canvasDivHeight); diff --git a/400-SOURCECODE/AIAHTML5.Web/libs/html2canvas.js b/400-SOURCECODE/AIAHTML5.Web/libs/html2canvas.js index 9acca44..84a7b9c 100644 --- a/400-SOURCECODE/AIAHTML5.Web/libs/html2canvas.js +++ b/400-SOURCECODE/AIAHTML5.Web/libs/html2canvas.js @@ -2858,7 +2858,7 @@ _html2canvas.Renderer.Canvas = function(options) { if (/*@cc_on!@*/false || !!document.documentMode) { var imgData = canvas.getContext("2d").getImageData(bounds.left, bounds.top, bounds.width, bounds.height); - ctx.putImageData(imgData, 50, 0); + ctx.putImageData(imgData, 0, 0); } else { -- libgit2 0.21.4