You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2007/08/23 20:35:00 UTC
svn commit: r569107 -
/myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tabgroup.js
Author: bommel
Date: Thu Aug 23 11:34:59 2007
New Revision: 569107
URL: http://svn.apache.org/viewvc?rev=569107&view=rev
Log:
(TOBAGO-474) Click on underlined character on tab has not effect with IE 6/7
Thanks Helmut Swaczinna
Modified:
myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tabgroup.js
Modified: myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tabgroup.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tabgroup.js?rev=569107&r1=569106&r2=569107&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tabgroup.js (original)
+++ myfaces/tobago/trunk/theme/standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tabgroup.js Thu Aug 23 11:34:59 2007
@@ -87,6 +87,9 @@
LOG.debug("Reload ");
if (event) {
var element = Tobago.element(event);
+ if (!element.id) {
+ element = element.parentElement;
+ }
//LOG.debug(element.className);
if (element.className && element.className.indexOf("tobago-tab-link") != -1) {
var aId = Tobago.findAnchestorWithTagName(element, 'span').id;