www

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

commit 752e25e2825afa3e84d4c085b9e5a2b7d346519d
parent 02774ac6fec847ab0e1db0616ad90f997da03775
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 12 Jul 2017 15:44:49 -0400

Fix id-not-an-integer warning from Show in Library

Diffstat:
Mchrome/content/zotero/zoteroPane.xul | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/zoteroPane.xul b/chrome/content/zotero/zoteroPane.xul @@ -285,7 +285,7 @@ </menupopup> <menupopup id="zotero-itemmenu"> <!-- Keep order in sync with buildItemContextMenu --> - <menuitem class="menuitem-iconic zotero-menuitem-show-in-library" label="&zotero.items.menu.showInLibrary;" oncommand="ZoteroPane_Local.selectItem(this.parentNode.getAttribute('itemID'), true)"/> + <menuitem class="menuitem-iconic zotero-menuitem-show-in-library" label="&zotero.items.menu.showInLibrary;" oncommand="ZoteroPane.selectItem(parseInt(this.parentNode.getAttribute('itemID')), true)"/> <menuseparator/> <!-- with icon: <menuitem class="menuitem-iconic" id="zotero-menuitem-note" label="&zotero.items.menu.attach.note;" oncommand="ZoteroPane_Local.newNote(false, this.parentNode.getAttribute('itemID'))"/>--> <menuitem class="menuitem-iconic zotero-menuitem-attach-note" label="&zotero.items.menu.attach.note;" oncommand="ZoteroPane_Local.newNote(false, this.parentNode.getAttribute('itemKey'))"/>