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:35:58 UTC
svn commit: r605207 -
/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Core.js
Author: matzew
Date: Tue Dec 18 05:35:57 2007
New Revision: 605207
URL: http://svn.apache.org/viewvc?rev=605207&view=rev
Log:
TRINIDAD-873
committed the provided patch to 10x trunk.
Modified:
myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Core.js
Modified: myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Core.js
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Core.js?rev=605207&r1=605206&r2=605207&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Core.js (original)
+++ myfaces/trinidad/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Core.js Tue Dec 18 05:35:57 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 = "";
}