Changes between Initial Version and Version 4 of Ticket #9778


Ignore:
Timestamp:
Aug 27, 2009, 11:40:03 AM (11 years ago)
Author:
bill
Comment:

(Just fixing spelling so future searches can find this ticket.)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9778

    • Property Owner set to bill
    • Property Status changed from new to assigned
    • Property Summary changed from AccordeonContainer incorrectly destroyed in ContentPane to AccordionContainer: incorrectly destroyed in ContentPane
    • Property Milestone changed from tbd to 1.4
  • Ticket #9778 – Description

    initial v4  
    11it overrides destroy() function with destroying buttons, but also should override destroyRecursive()
    22
    3 in some cases destroyRecursive() called before destroy() (for example, when accordeon container is inside ContentPane, and we will set new content for ContentPane, it will call destroyRecursive(), and after it destroy())
     3in some cases destroyRecursive() called before destroy() (for example, when accordion container is inside !ContentPane, and we will set new content for !ContentPane, it will call destroyRecursive(), and after it destroy())
    44
    55{{{
    66destroyRecursive: function(){
    7                         dojo.forEach(this.getChildren(), function(child){
    8                                 child._buttonWidget.destroy();
    9                         });
    10                         this.inherited(arguments);
    11                 }
     7        dojo.forEach(this.getChildren(), function(child){
     8                child._buttonWidget.destroy();
     9        });
     10        this.inherited(arguments);
     11}
    1212}}}