[Jifty-commit] r3820 - in jifty/trunk: share/web/static/js

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Mon Aug 6 17:18:23 EDT 2007


Author: trs
Date: Mon Aug  6 17:18:23 2007
New Revision: 3820

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/share/web/static/js/jifty.js

Log:
 r25943 at zot:  tom | 2007-08-06 17:17:51 -0400
 Without the conditional we'll hide errors as soon as we display them


Modified: jifty/trunk/share/web/static/js/jifty.js
==============================================================================
--- jifty/trunk/share/web/static/js/jifty.js	(original)
+++ jifty/trunk/share/web/static/js/jifty.js	Mon Aug  6 17:18:23 2007
@@ -719,7 +719,7 @@
         }
     },
     '.form_field .error, .form_field .warning, .form_field .canonicalization_note': function(e) {
-        Element.hide(e);
+        if ( e.innerHTML == "" ) Element.hide(e);
     }
 });
 


More information about the Jifty-commit mailing list