From a8d787f69841333bff5f51a6efe2e4ec49de90ab Mon Sep 17 00:00:00 2001 From: Douglas Medrano Chura Date: Wed, 8 Jun 2011 09:10:45 -0400 Subject: [PATCH] BUG 6900 Solved the validation when trigger the event onblur The problem was solved modificating the event onblur of the text field --- gulliver/js/form/core/form.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulliver/js/form/core/form.js b/gulliver/js/form/core/form.js index 72e18240c..9ada653a9 100755 --- a/gulliver/js/form/core/form.js +++ b/gulliver/js/form/core/form.js @@ -771,7 +771,8 @@ function G_Text( form, element, name, type ) if(!pat.test(this.element.value)) { if(this.required=="0"&&this.element.value=="") { - this.element.className=this.element.className.split(" ")[0]+" FormFieldContent"; + this.element.className="module_app_input___gray"; + return; } else { this.element.className=this.element.className.split(" ")[0]+" FormFieldInvalid";