projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d9d76b
)
Another attempt at sizing correctly - use entire HTML element instead of BODY tag
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 28 Sep 2009 17:11:13 +0000
(11:11 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 28 Sep 2009 17:11:13 +0000
(11:11 -0600)
imp/js/imp.js
patch
|
blob
|
history
diff --git
a/imp/js/imp.js
b/imp/js/imp.js
index
4076e39
..
9f46c2c
100644
(file)
--- a/
imp/js/imp.js
+++ b/
imp/js/imp.js
@@
-80,7
+80,7
@@
document.observe('dom:loaded', function() {
IMP.iframeResize = function(id)
{
id = $(id);
- id.setStyle({ height: id.contentWindow.document.
body
.scrollHeight + 'px' });
+ id.setStyle({ height: id.contentWindow.document.
lastChild
.scrollHeight + 'px' });
};
// If menu is present, attach event handlers to folder switcher.