You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2009/08/04 14:31:49 UTC

svn commit: r800755 - /myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js

Author: weber
Date: Tue Aug  4 12:31:48 2009
New Revision: 800755

URL: http://svn.apache.org/viewvc?rev=800755&view=rev
Log:
(TOBAGO-776) special character like German 'Umlaut' in Option are broken
<https://issues.apache.org/jira/browse/TOBAGO-776>

Modified:
    myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js

Modified: myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js?rev=800755&r1=800754&r2=800755&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js (original)
+++ myfaces/tobago/branches/tobago-1.0.x/theme/scarborough/src/main/resources/org/apache/myfaces/tobago/renderkit/html/scarborough/standard/script/tree.js Tue Aug  4 12:31:48 2009
@@ -856,7 +856,8 @@
   if (node.childNodes && node.childNodes.length) {
     label += " \u2192";
   }
-  var option = new Option(label, index);
+  var option = new Option("", index);
+  option.innerHTML = label; 
   option.hiddenId = hiddenId;
   if (node.tip) {
     option.title = node.tip;