Ticket #2348: ValidationTextBox.patch
| File ValidationTextBox.patch, 0.6 kB (added by joose, 23 months ago) |
|---|
-
trunk2/src/widget/ValidationTextbox.js
127 127 // summary: by Called oninit, and onblur. 128 128 129 129 // highlight textbox background 130 if (this.isEmpty() ) {130 if (this.isEmpty() && !this.isMissing()) { 131 131 this.updateClass("Empty"); 132 }else if(this.isMissing()) { 133 this.updateClass("Invalid"); 132 134 }else if (this.isValid() && this.isInRange() ){ 133 135 this.updateClass("Valid"); 134 136 }else if(this.textbox.value != this.promptMessage){