Links in WPopupMenu does not work with Firefox
Added by Magnus Arntzen over 13 years ago
Hi.
Links in WPopupMenu does not work with Firefox (v 7.0.1), but works with Opera and IE.
A working example can bee seen here:
http://apoptoproteomics.uio.no/
1. click search button with no query
- click on protein '14-3-3 protein beta/alpha' (number 4 from top)
- open 'Details' pane further down
- click the gene-ontology term 'apoptosis' which then shows a popupmenu
The items therein are links, and Firefox recognize that they are, but will not link out.
Coding-wise the links are set with WPopupMenuItem::setLink(...) instead of listening to which item that was clicked and then go there. I don't know if that would make a difference...
Furthermore, if I execute the menu containing links with WPopupMenu::popup(event) I get JavaScript error:
"Wt internal error: TypeError: Cannot convert 'a' to object, code: undefined, description: undefined"
And the popupmenu will not show at all. But WPopupMenu::exec(event) works.
Thanks for any help on these issues!
-Magnus
Replies (1)
RE: Links in WPopupMenu does not work with Firefox - Added by Koen Deforche over 13 years ago
Hey Magnus,
Re firefox problem, apparently Firefox does not follow the link because of the mouseup listener... (if I remove this, then it works). I am pretty sure that is a bug in Firefox. I will see how we can work around this problem.
Regards,
koen