Changeset 9190

Show
Ignore:
Timestamp:
06/18/07 02:34:23 (19 months ago)
Author:
bill
Message:

Fix problem with id setting of dropdown wrapper. Refs #2826.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/layout/Dialog.js

    r9188 r9190  
    321321                }, 
    322322 
    323                 show: function(/*DomNode*/ anchor){ 
     323                show: function(/*DomNode|String*/ anchor){ 
    324324                        // summary: display the dialog underneath specified button/link 
    325                         var pos = dijit.util.popup.openAround(this, anchor, {'BL': 'TL', 'TL': 'BL'}); 
     325                        var pos = dijit.util.popup.openAround(this, dojo.byId(anchor), {'BL': 'TL', 'TL': 'BL'}); 
    326326                        this.domNode.className="dijitTooltipDialog dijitTooltip" + (pos.corner=='TL' ? "Below" : "Above"); 
    327327                },