What steps will reproduce the problem?
1. Produce a context menu with a PhyloLinkItem
2. Set the url to execute javascript, ie <item url="javascript:alert('test');"\>
What is the expected output? What do you see instead?
Ideally the javascript should be executed within the same window. A new tab or
window is opened.
What version of the product are you using? On what operating system?
All. At least revision 187.
Please provide any additional information below.
The "callback" context menu items could handle this if there were additional
events. The problem is in the performAction() method of
"org.andrewberman.ui.menu.RadialLinkItem.java". The url is opened with "_new"
as the target. I think "target" should be an annotation option in the XML menu
definition, and this could probably be done with a small extension.
Original issue reported on code.google.com by patrick....@gmail.com on 6 Jul 2010 at 4:15
Original issue reported on code.google.com by
patrick....@gmail.com
on 6 Jul 2010 at 4:15