Changeset 12706
- Timestamp:
- 02/26/08 04:49:19 (11 months ago)
- Files:
-
- 1 modified
-
dijit/trunk/Dialog.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dijit/trunk/Dialog.js
r12449 r12706 209 209 focusItem = dijit.getLastInTabbingOrder(this.domNode); 210 210 this._lastFocusItem = focusItem ? focusItem : this._firstFocusItem; 211 if(dojo.isMoz && this._firstFocusItem.tagName.toLowerCase() == "input" && dojo.attr(this._firstFocusItem, "type").toLowerCase() == "file"){ 212 //FF doesn't behave well when first element is input type=file, set first focusable to dialog container 213 dojo.attr(this.domNode, "tabindex", "0"); 214 this._firstFocusItem = this.domNode; 215 } 211 216 } 212 217