Changes between Initial Version and Version 6 of Ticket #5118


Ignore:
Timestamp:
Nov 15, 2007, 12:43:22 AM (12 years ago)
Author:
bill
Comment:

ah thanks for finding that... updating bug title/description

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5118

    • Property Cc tk added
    • Property Summary changed from dijit.Dialog.destroy() throws error to Dialog: hide() followed quickly by destroy() throws error
  • Ticket #5118 – Description

    initial v6  
    1 Using dijit.Dialog.destroy() or dijit.Dialog.destroyRecursive() on a Dialog will throw an error "this.domNode has no properties". Interestingly, it cannot be caught by wrapping the call in a try/catch.
     1Calling dijit.Dialog.hide(), and then immediately calling dijit.Dialog.destroy() or dijit.Dialog.destroyRecursive() on a Dialog will throw an error "this.domNode has no properties". Interestingly, it cannot be caught by wrapping the call in a try/catch.
    22
    33This is rather annoying since .hide() only hides the dialog, which makes it hard to do "throwaway" dialogs -- something that you create, use once, and destroy.