You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2008/04/15 23:57:19 UTC
svn commit: r648428 -
/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/tapestry.js
Author: hlship
Date: Tue Apr 15 14:57:18 2008
New Revision: 648428
URL: http://svn.apache.org/viewvc?rev=648428&view=rev
Log:
TAPESTRY-2306: Mismatch between javascript and server-side "require" validator
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/tapestry.js
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/tapestry.js
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/tapestry.js?rev=648428&r1=648427&r2=648428&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/tapestry.js (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/tapestry.js Tue Apr 15 14:57:18 2008
@@ -350,7 +350,7 @@
{
Tapestry.addValidator(field, true, function(value, event)
{
- if (value == '')
+ if (value.strip() == '')
event.recordError(message);
});
},