View Full Version : BasicDialog.destroy
15 Dec 2006, 8:17 AM
Is it just me, but it seems the BasicDialog.destroy function with TRUE parameter to destroy the element, destroys the element and removes it form the Dom, but leaves the proxy and the shim divs. The element (and all the other stuff) is created with autoCreate: true?
15 Dec 2006, 9:56 AM
If you use svn, I have revamped BasicDialog.destroy and added destroy to resizable and Button as well.
Note, building a BasicDialog from existing markup, destroying and then trying to build from the same markup again will not work since the original dialog modified the original markup. The "removeEl" option should usually be true since destroy leaves the markup pretty much unusable.
Powered by vBulletin® Version 4.1.5 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.