]> source.dussan.org Git - jquery-ui.git/commit
Dialog: Remove the instance-storing for the overlay, just create one whenever it...
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 4 Dec 2012 00:08:34 +0000 (01:08 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Tue, 4 Dec 2012 00:08:34 +0000 (01:08 +0100)
commit1e8baf568365f8edc833439315f76e5efe1ba9b6
treea59e9ff03f729d46b18530621797ad65c77f87b5
parentb9068c1523f39da8a04c799eebc9adc8b83c7279
Dialog: Remove the instance-storing for the overlay, just create one whenever it is needed. Heavily simplifies the code, while the memorly leak should be hardly an issue anymore, since fixed positioning restricts the overlay size to the window dimensions. Fixes #6058 - Dialog overlays are not properly reused when multiple instances of a Dialog exist.
tests/unit/dialog/dialog_tickets.js
ui/jquery.ui.dialog.js