Jump to content

ips.ui.dialog destructOnClose


Go to solution Solved by Stuart Silvester,

Recommended Posts

Posted

if you use ips.ui.dialog.create() to create the dialog programmatically, then desctructOnClose doesn't completely remove the dialog once it is closed, as it is expecting an element, cause the internal hide() method calls the object 

if( options.destructOnClose ){
   ips.ui.dialog.destruct(elem);
}

since there is no element when using ips.ui.dialog.create(), there is nothing for ips.ui.dialog.destruct() to do, so parts of the dialog window remains in the DOM. 

  • 1 month later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...