Changeset 13345
- Timestamp:
- 04/17/08 08:50:06 (7 months ago)
- Files:
-
- 1 modified
-
dijit/trunk/form/Button.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dijit/trunk/form/Button.js
r13252 r13345 39 39 // summary: internal function to handle click actions 40 40 if(this.disabled || this.readOnly){ 41 dojo.stopEvent(e); // needed for checkbox42 41 return false; 43 42 } … … 49 48 // summary: callback when the user mouse clicks the button portion 50 49 if(this._onClick(e) === false){ // returning nothing is same as true 51 dojo.stopEvent(e);50 e.preventDefault(); // needed for checkbox 52 51 }else if(this.type=="submit" && !this.focusNode.form){ // see if a nonform widget needs to be signalled 53 52 for(var node=this.domNode; node.parentNode/*#5935*/; node=node.parentNode){