From 70100c8044d719300a87ee76807bf4c19d8517f5 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 30 Apr 2011 10:57:30 -0400 Subject: [PATCH] Remove invalid_value class before validation --- js/tbl_change.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/tbl_change.js b/js/tbl_change.js index a6d4be933..896700bb6 100644 --- a/js/tbl_change.js +++ b/js/tbl_change.js @@ -215,6 +215,7 @@ function verificationsAfterFieldChange(urlField, multi_edit, theType){ } //validate for integer type if(theType.substring(0,3) == "int"){ + $this_input.removeClass("invalid_value"); if(isNaN($this_input.val())){ $this_input.addClass("invalid_value"); return false;