Ticket #2857 (closed bug: fixed)
[ui.dialog] Exceptions thrown if positioning in iframe
|Reported by:||tyler||Owned by:||paul|
If you're in a less-than-stellar browser (Safari 2, IE6) that has certain security restraints on trying to set the position of "top" from inside a frame (besides it being an object) currently dialog.position() will thrown an exception that will break the entire page.
The attached patch will safely set "top" in Firefox and such, and have certain fallback behavior for browsers that have issues with iframes trying set "top".