myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From drobin...@apache.org
Subject svn commit: r563166 - /myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/NumberFormat.js
Date Mon, 06 Aug 2007 15:12:44 GMT
Author: drobinson
Date: Mon Aug  6 08:12:44 2007
New Revision: 563166

URL: http://svn.apache.org/viewvc?view=rev&rev=563166
Log:
TRINIDAD-141
JavaScript error 'value' undefined, change to use 'number' variable.

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

Modified: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/NumberFormat.js
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/NumberFormat.js?view=diff&rev=563166&r1=563165&r2=563166
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/NumberFormat.js
(original)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/NumberFormat.js
Mon Aug  6 08:12:44 2007
@@ -165,7 +165,7 @@
   //taken from the Apache Harmony project
   if(number)
   {
-    this._minIntegerDigits = value < 0 ? 0 : number;
+    this._minIntegerDigits = number < 0 ? 0 : number;
     if(this._minIntegerDigits > this._maxIntegerDigits)
     {
       this._maxIntegerDigits = this._minIntegerDigits;
@@ -196,7 +196,7 @@
   //taken from the Apache Harmony project
   if(number)
   {
-    this._minFractionDigits = value < 0 ? 0 : number;
+    this._minFractionDigits = number < 0 ? 0 : number;
     if (this._maxFractionDigits < this._minFractionDigits)
     {
       this._maxFractionDigits = this._minFractionDigits;



Mime
View raw message