Tree works fine with Firefox. But when I click on the expand/collapse icon of the tree, then a javascript error occurs.
Is this a bug? Is there a workaround?
Error Message on Internet Explorer:
Webpage error details
Message: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
Line: 10
Char: 2724
Code: 0
URI: http://localhost:7001/nus-ui/primefaces ... iew-min.js
Environment
AppServer: WLS 11g2
JSF: com.sun.faces (2.0.3)
Primefaces: 2.0.2
Tree Collapse/Expand not working in IE8
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
It was not a bug.
The problem was in my css file:
Due to global css styles the link of the tree icon had an underline. To get rid of it, I put the diplay:none on the tree icon link.
With Mozilla it was still working, but on IE the a YIU js threw an error.
Now, I changed the css to text-decoration:none; and everything is working fine.
Thanks
The problem was in my css file:
Code: Select all
a.ygtvspacer {
display: none;
}
With Mozilla it was still working, but on IE the a YIU js threw an error.
Now, I changed the css to text-decoration:none; and everything is working fine.
Thanks