Note link tweaks
- Send modifier keys through to loadURI() when clicking Open Link in notes - Open link in parent window from external note window - Don't show both menus on right-click Follow-up from #450
This commit is contained in:
parent
2f9c7fd839
commit
a6ab904cd0
3 changed files with 38 additions and 5 deletions
|
@ -140,7 +140,10 @@
|
|||
break;
|
||||
|
||||
case 'openlink':
|
||||
ZoteroPane.loadURI(event.target.href);
|
||||
var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]
|
||||
.getService(Components.interfaces.nsIWindowMediator);
|
||||
win = wm.getMostRecentWindow('navigator:browser');
|
||||
win.ZoteroPane.loadURI(event.target.href, event.modifierKeys);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue