www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 93bbed579e542e09cb2642744317c831de57fea5
parent 0f0c531247e49a4dd2e0ac409a4b2379c59083da
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sat, 25 Oct 2008 07:38:50 +0000

Missed file from r3450-3580 merge from 1.0 branch


Diffstat:
Mchrome/content/zotero/overlay.xul | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/overlay.xul b/chrome/content/zotero/overlay.xul @@ -58,10 +58,10 @@ <menuseparator id="zotero-context-separator" hidden="true"/> <menuitem id="zotero-context-add-to-current-note" class="menu-iconic" label="&zotero.contextMenu.addTextToCurrentNote;" hidden="true" - oncommand="ZoteroPane.addTextToNote(window.content.getSelection().toString())"/> + oncommand="var str = event.currentTarget.ownerDocument.popupNode.ownerDocument.defaultView.getSelection().toString(); ZoteroPane.addTextToNote(str)"/> <menuitem id="zotero-context-add-to-new-note" class="menu-iconic" label="&zotero.contextMenu.addTextToNewNote;" hidden="true" - oncommand="var itemID = ZoteroPane.addItemFromPage(); ZoteroPane.newNote(false, itemID, window.content.getSelection().toString())"/> + oncommand="var str = event.currentTarget.ownerDocument.popupNode.ownerDocument.defaultView.getSelection().toString(); var itemID = ZoteroPane.addItemFromPage(); ZoteroPane.newNote(false, itemID, str)"/> <menuitem id="zotero-context-save-link-as-snapshot" class="menu-iconic" label="&zotero.contextMenu.saveLinkAsSnapshot;" hidden="true" oncommand="Zotero.Attachments.importFromURL(window.gContextMenu.linkURL, false, false, false, ZoteroPane.getSelectedCollection(true))"/>