Changeset 10534

Show
Ignore:
Timestamp:
09/17/07 07:05:44 (14 months ago)
Author:
bill
Message:

Remove some unnecessary code that messing up diji.place()'s detection of
the size of the dropdown (messing up Combobox drop down sizing). Refs #3058.

Location:
dijit/trunk/form
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/form/ComboBox.js

    r10474 r10534  
    470470                //      Focus-less div based menu for internal use in ComboBox 
    471471 
    472                 templateString:"<div class='dijitMenu' dojoAttachEvent='onclick,onmouseover,onmouseout' tabIndex='-1' style='display:none; position:absolute; overflow:\"auto\";'>" 
     472                templateString:"<div class='dijitMenu' dojoAttachEvent='onclick,onmouseover,onmouseout' tabIndex='-1' style='overflow:\"auto\";'>" 
    473473                                +"<div class='dijitMenuItem' dojoAttachPoint='previousButton'></div>" 
    474474                                +"<div class='dijitMenuItem' dojoAttachPoint='nextButton'></div>" 
  • dijit/trunk/form/_DropDownTextBox.js

    r10489 r10534  
    138138                        if(childs.length){ 
    139139                                var visibleCount = Math.min(childs.length,this.maxListLength); 
    140                                 with(this._popupWidget.domNode.style){ 
    141                                         // trick to get the dimensions of the popup 
    142                                         // TODO: doesn't dijit.popup.open() do this automatically? 
    143                                         display=""; 
    144                                         width=""; 
    145                                         height=""; 
    146                                 } 
    147140                                this._arrowPressed(); 
    148141                                // hide the tooltip