[
https://issues.apache.org/jira/browse/JSPWIKI-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540713
]
Dirk Frederickx commented on JSPWIKI-24:
----------------------------------------
When focus is (wrongly) given to a hidden field, IE javascript is halted. (FF,
and others silently accept)
Rootcause: isVisible is not working properly, as it should read the computed
styles from the elements.
Tihs is a new bug; previously the hidden style on TABs was set straight onto
the element and not via css. The latter was introduced to support proper
printing for (hidden) tabs.
Fix is easy:
{{
visible: function() {
if(this.getStyle('visibility') == 'hidden') return false; /*read
computed style*/
if(this.getStyle('display') == 'none' ) return false; /* read computed
style */
if ([window, document].contains(this.parentNode)) { alert('done');
return true; }
return $(this.parentNode).visible();
},
}}
Will be part of next commit.
dirk
> MyPrefs page Profile and View Group tabs fail to get focus in IE 6.0.29 but
> work in Firefox (vers 2.5.150 beta)
> ---------------------------------------------------------------------------------------------------------------
>
> Key: JSPWIKI-24
> URL: https://issues.apache.org/jira/browse/JSPWIKI-24
> Project: JSPWiki
> Issue Type: Bug
> Components: Default template
> Affects Versions: 2.5.139-beta
> Environment: MS IE 6.0.29
> Reporter: jmason
> Assignee: Dirk Frederickx
> Priority: Critical
> Fix For: 2.6.0
>
> Attachments: screenshot-1.jpg
>
>
> after login as admin, on MyPrefs page, the tabs for Preferences and View
> Groups fail to get focus when clicked in MS IE but work in Firefox
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.