Changeset 13738

Show
Ignore:
Timestamp:
05/15/08 07:30:02 (3 months ago)
Author:
dante
Message:

make ExpandoPane? programatically creatable. !strict

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dojox/trunk/layout/ExpandoPane.js

    r13449 r13738  
    4646                this._isHorizontal = true; 
    4747                 
    48                 this._container = this.getParent(); 
    49                 this._closedSize = this._titleHeight = dojo.marginBox/*_getBorderBox*/(this.titleWrapper).h; 
    50          
    5148                if(dojo.isString(this.easeOut)){ 
    5249                        this.easeOut = dojo.getObject(this.easeOut); 
     
    8178        startup: function(){ 
    8279                this.inherited(arguments); 
     80                 
     81                this._container = this.getParent(); 
     82                this._closedSize = this._titleHeight = dojo.marginBox/*_getBorderBox*/(this.titleWrapper).h; 
     83                 
    8384                if(this.splitter){ 
    8485                        // find our splitter and tie into it's drag logic 
     
    9091                        })); 
    9192                } 
     93                 
    9294                this._currentSize = dojo.marginBox(this.domNode); 
    9395                this._showSize = this._currentSize[(this._isHorizontal ? "h" : "w")]; 
     
    198200                var size = dojo.marginBox(this.domNode); 
    199201                // FIXME: do i even need to do this query/forEach? why not just set the containerHeight always 
    200                 dojo.query("[attachParent]",this.domNode).forEach(function(n){ 
     202                dojo.query("[attachParent]", this.domNode).forEach(function(n){ 
    201203                        if(dijit.byNode(n)){ 
    202204                                var h = size.h - this._titleHeight;