firefox - ff addon execute menu item -


i want modify existing addon simplicity. have code:

<popup id="contentareacontextmenu"> <menu id="llopenlocallink" label="&llopenlocallink.label;" insertbefore="context-sep-open" >   <menupopup>   <menuitem id="llopeninthistab" label="&llopeninthistab.label;" oncommand="locallink.openlinkinthistab(event)"/>   <menuitem id="llopeninnewtab" label="&llopeninnewtab.label;" oncommand="locallink.openlinkinnewtab(event)"/>   <menuitem id="llopeninnewwindow" label="&llopeninnewwindow.label;" oncommand="locallink.openlinkinnewwindow(event)"/>  </menupopup>  </menu> </popup> 

and want single menu entry executed if clicked. tried not executed:

<popup id="contentareacontextmenu"> <menu id="llopenlocallink" label="&llopenlocallink.label;" insertbefore="context-  sep-open" oncommand="locallink.openlinkinnewtab(event)"> </menu> </popup> 

ok. found answer:

<popup id="contentareacontextmenu">   <menuitem id="llopenlocallink" label="&llopenlocallink.label;" insertbefore="context-sep-open" oncommand="locallink.openlinkinnewtab(event)"/> </popup> 


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -