Changeset 11735

Show
Ignore:
Timestamp:
12/07/07 08:08:10 (9 months ago)
Author:
bill
Message:

Fix regression in [11688] that was causing double destroy calls on same widget. Fixes #5326, Refs #1836, #4902.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/_Widget.js

    r11731 r11735  
    237237 
    238238                // TODO: should I destroy in the reverse order, to go bottom up? 
    239                 dojo.forEach(this.getDescendants(), function(widget){ widget.destroyRecursive(); }); 
     239                dojo.forEach(this.getDescendants(), function(widget){ widget.destroy(); }); 
    240240        }, 
    241241