You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ma...@apache.org on 2007/08/29 15:23:50 UTC

svn commit: r570803 - /myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/CoreFormat.js

Author: matzew
Date: Wed Aug 29 06:23:49 2007
New Revision: 570803

URL: http://svn.apache.org/viewvc?rev=570803&view=rev
Log:
allow 0 as min/max...

Modified:
    myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/CoreFormat.js

Modified: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/CoreFormat.js
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/CoreFormat.js?rev=570803&r1=570802&r2=570803&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/CoreFormat.js (original)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/CoreFormat.js Wed Aug 29 06:23:49 2007
@@ -341,7 +341,7 @@
   string = "" + value;
   numberValue = parseFloat(string);
   var facesMessage;
-  if(this._minValue && this._maxValue)
+  if(this._minValue != null && this._maxValue != null)
   {
     //range
     if(numberValue >= this._minValue && numberValue <= this._maxValue)