Changeset 9638

Show
Ignore:
Timestamp:
07/13/07 06:05:54 (17 months ago)
Author:
doughays
Message:

Fixes #3741. Change the textbox onblur to _onBlur.

Location:
dijit/trunk/form
Files:
7 modified

Legend:

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

    r9601 r9638  
    337337                }, 
    338338 
    339                 onblur:function(){ 
     339                onblur:function(){ /* not _onBlur! */ 
    340340                        // call onblur first to avoid race conditions with _hasFocus 
    341341                        dijit.form._DropDownTextBox.prototype.onblur.apply(this, arguments); 
  • dijit/trunk/form/DateTextbox.js

    r9627 r9638  
    9090                        // summary: called magically when focus has shifted away from this widget and it's dropdown 
    9191                        dijit.util.popup.closeAll(); 
    92                         dijit.form.DateTextbox.superclass.onblur.apply(this, arguments); 
     92                        this.inherited('_onBlur', arguments); 
    9393                        // don't focus on <input>.  the user has explicitly focused on something else. 
    9494                }, 
  • dijit/trunk/form/templates/Spinner.html

    r9627 r9638  
    66        <tr> 
    77                <td rowspan="2" class="dijitReset dijitStretch dijitSpinnerInput"> 
    8                         <input dojoAttachPoint="textbox;focusNode" type="${type}" dojoAttachEvent="onblur;onfocus;onkeyup;" 
     8                        <input dojoAttachPoint="textbox;focusNode" type="${type}" dojoAttachEvent="onfocus;onkeyup;" 
    99                                value="${value}" name="${name}" size="${size}" maxlength="${maxlength}" 
    1010                                waiRole="spinbutton" autocomplete="off" tabIndex="${tabIndex}" 
  • dijit/trunk/form/templates/Textbox.html

    r9627 r9638  
    1 <input dojoAttachPoint='textbox;focusNode' dojoAttachEvent='onblur;onfocus;onkeyup;onkeypress:_onKeyPress' 
     1<input dojoAttachPoint='textbox;focusNode' dojoAttachEvent='onfocus;onkeyup;onkeypress:_onKeyPress' 
    22        id='${id}' name='${name}' class="dijitInputField" type='${type}' size='${size}' maxlength='${maxlength}' tabIndex='${tabIndex}'> 
  • dijit/trunk/form/Textbox.js

    r9633 r9638  
    115115                }, 
    116116 
    117                 onblur: function(){ 
     117                _onBlur: function(){ 
    118118                        dojo.removeClass(this.nodeWithBorder, "dijitInputFieldFocused"); 
    119119 
  • dijit/trunk/form/ValidationTextbox.js

    r9601 r9638  
    122122                }, 
    123123 
    124                 onblur: function(evt){ 
     124                _onBlur: function(evt){ 
    125125                        this.validate(false); 
    126                         dijit.form.ValidationTextbox.superclass.onblur.apply(this, arguments); 
     126                        this.inherited('_onBlur', arguments); 
    127127                }, 
    128128 
  • dijit/trunk/form/_Spinner.js

    r9627 r9638  
    9191                }, 
    9292 
    93                 _onBlur: function(){ 
    94                         dijit.form._Spinner.superclass.onblur.apply(this, arguments); 
    95                 }, 
    96  
    9793                postCreate: function(){ 
    9894                        this.inherited('postCreate', arguments);