Changeset 11416

Show
Ignore:
Timestamp:
11/06/07 10:54:19 (10 months ago)
Author:
peller
Message:

Remove null ref on 1.0 branch. Refs #5017

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.0/dijit/trunk/form/ValidationTextBox.js

    r11246 r11416  
    2828                // invalidMessage: String 
    2929                //              The message to display if value is invalid. 
    30                 invalidMessage: "\x00", // read from the message file if not overridden 
     30                invalidMessage: "$_unset_$", // read from the message file if not overridden 
    3131                // constraints: Object 
    3232                //              user-defined object needed to pass parameters to the validator functions 
     
    146146                        this.constraints.locale=this.lang; 
    147147                        this.messages = dojo.i18n.getLocalization("dijit.form", "validate", this.lang); 
    148                         if(this.invalidMessage == "\x00"){ this.invalidMessage = this.messages.invalidMessage; } 
     148                        if(this.invalidMessage == "$_unset_$"){ this.invalidMessage = this.messages.invalidMessage; } 
    149149                        var p = this.regExpGen(this.constraints); 
    150150                        this.regExp = p;