Bug #18422
closedTask center iframes are only sized on load
0%
Description
Within the task center, iframes are used to include external content such as a TCE form for editing records as part of sys_action. These iframes have an onload attribute to set the height of the form, but this event handler could be improved.
Other iframes within the new backend are automatically resized when the browser window is resized (via Prototype event handlers) so the task center should get this same behavior.
(issue imported from #M7820)
Files
Updated by Steffen Kamper over 16 years ago
i changed the calc of parent height to prototype. Attached patch works for IE too.
Updated by Jeff Segars over 16 years ago
Thanks Steffen. Works for me in Firefox and Safari. Would it be possible to tie this to load or browser resize so that its always the correct size?
Updated by Steffen Kamper over 16 years ago
I did the rezising too.
I had to exclude IE6 because it crashes IE6. The Cause maybe interdependencies with other resize handlers in BE.
Updated by Steffen Kamper over 16 years ago
change in fix no3 is the condition for IE6 like the other changes for that.
Updated by Jeff Segars over 16 years ago
Committed to 4.2 branch. Thanks Steffen!