summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSidharth Singh2013-08-13 08:07:06 (EDT)
committerStephan Born2013-09-23 05:00:16 (EDT)
commit921ade28ec2379f4175d0915127e43e4161aab53 (patch)
treecddeba5027a1e9fa9f7f06c38b50007cf3723b77
parentd0031c625003708579eb86b69ff16252462619c5 (diff)
downloadorg.eclipse.stardust.ui.web-921ade28ec2379f4175d0915127e43e4161aab53.zip
org.eclipse.stardust.ui.web-921ade28ec2379f4175d0915127e43e4161aab53.tar.gz
org.eclipse.stardust.ui.web-921ade28ec2379f4175d0915127e43e4161aab53.tar.bz2
Jira-ID: CRNT-29841
Used windowHeight to calculate tiff height rather than using the docWidth git-svn-id: https://svn.csa.sungard.com/repos/ipp2/product/trunk/stardust/ui.web@66658 8100b5e0-4d52-466c-ae9c-bdeccbdeaf6b Signed-off-by: Sidharth Singh <sidharth.singh@sungard.com>
-rw-r--r--views-common/src/main/resources/META-INF/xhtml/scripts/tiffViewerEventScript.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/views-common/src/main/resources/META-INF/xhtml/scripts/tiffViewerEventScript.js b/views-common/src/main/resources/META-INF/xhtml/scripts/tiffViewerEventScript.js
index 392f999..d2919c5 100644
--- a/views-common/src/main/resources/META-INF/xhtml/scripts/tiffViewerEventScript.js
+++ b/views-common/src/main/resources/META-INF/xhtml/scripts/tiffViewerEventScript.js
@@ -26,7 +26,7 @@ function restoreTiffIframe(iframeId, anchorId) {
var windowHeight = document.body.clientHeight;
docWidth = parseInt((document.body.clientWidth - leftValue)) - 30;
- docHeight = parseInt(docWidth * 1.2)+70;
+ docHeight = parseInt(windowHeight)+55;
docHeight -= topValue;