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 2014/10/01 10:52:35 UTC

svn commit: r1628649 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-tree.js

Author: weber
Date: Wed Oct  1 08:52:35 2014
New Revision: 1628649

URL: http://svn.apache.org/r1628649
Log:
TOBAGO-1263 - TreeListbox did not work in 2.0: fix Problem in IE (10)

Modified:
    myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-tree.js

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-tree.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-tree.js?rev=1628649&r1=1628648&r2=1628649&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-tree.js (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-tree.js Wed Oct  1 08:52:35 2014
@@ -276,7 +276,9 @@ Tobago.TreeListbox.onChange = function()
   listbox.children("option:not(:selected)").each(function() {
     jQuery(this).data("tobago-select").hide();
   });
-  listbox.children("option:selected").data("tobago-select").show();
+  listbox.children("option:selected").each(function() {
+    jQuery(this).data("tobago-select").show();
+  });
   Tobago.TreeListbox.setSelected(listbox);
 
   // Deeper level (2nd and later) should only show the empty select tag.