Changeset 12281
- Timestamp:
- 02/04/08 14:03:30 (11 months ago)
- Location:
- dijit/trunk/form
- Files:
-
- 2 modified
-
ComboBox.js (modified) (3 diffs)
-
templates/ComboBox.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dijit/trunk/form/ComboBox.js
r12184 r12281 432 432 w: Math.max(newwidth, this.domNode.offsetWidth) 433 433 }); 434 dijit.setWaiState(this.comboNode, "expanded", "true"); 434 435 }, 435 436 … … 439 440 this._arrowIdle(); 440 441 this._isShowingNow=false; 442 dijit.setWaiState(this.comboNode, "expanded", "false"); 441 443 } 442 444 }, … … 657 659 if(label.length){ 658 660 label[0].id = (this.id+"_label"); 659 dijit.setWaiState(this.comboNode, "labelledby", label[0].id); 660 dijit.setWaiState(this.comboNode, "disabled", this.disabled); 661 var cn=this.comboNode; 662 dijit.setWaiState(cn, "labelledby", label[0].id); 663 dijit.setWaiState(cn, "autocomplete", "list"); // FYI: different meaning that autocomplete property of combobox 664 dijit.setWaiState(cn, "disabled", this.disabled); 661 665 662 666 } -
dijit/trunk/form/templates/ComboBox.html
r12028 r12281 1 1 <div class="dijit dijitReset dijitInlineTable dijitLeft" 2 2 id="widget_${id}" 3 dojoAttachEvent="onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse" dojoAttachPoint="comboNode" waiRole="combobox" tabIndex="-1"3 dojoAttachEvent="onmouseenter:_onMouse,onmouseleave:_onMouse,onmousedown:_onMouse" dojoAttachPoint="comboNode" waiRole="combobox" waiState="haspopup-true" tabIndex="-1" 4 4 ><div style="overflow:hidden;" 5 5 ><div class='dijitReset dijitRight dijitButtonNode dijitArrowButton dijitDownArrowButton'