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/12/18 14:36:37 UTC

svn commit: r605208 - /myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Core.js

Author: matzew
Date: Tue Dec 18 05:36:36 2007
New Revision: 605208

URL: http://svn.apache.org/viewvc?rev=605208&view=rev
Log:
TRINIDAD-873
committed the provided patch to 12x trunk.

Modified:
    myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Core.js

Modified: myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Core.js
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Core.js?rev=605208&r1=605207&r2=605208&view=diff
==============================================================================
--- myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Core.js (original)
+++ myfaces/trinidad/trunk_1.2.x/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Core.js Tue Dec 18 05:36:36 2007
@@ -2806,8 +2806,9 @@
   {
     var currValue = tokens[currToken];
 
-    // if the token has no value, replace it with the empty string
-    if (!currValue)
+    // if the token has no value 
+    // or !typeof string, replace it with the empty string (see TRINIDAD-873)
+    if (!currValue || !(typeof currValue == "string"))
     {
       currValue = "";
     }