diff --git a/chrome/content/zotero/note.js b/chrome/content/zotero/note.js index 1f207693aa..58986f899f 100644 --- a/chrome/content/zotero/note.js +++ b/chrome/content/zotero/note.js @@ -29,6 +29,10 @@ Components.utils.import("resource://gre/modules/Services.jsm"); let noteEditor; let notifierUnregisterID; +function showInLibrary() { + noteEditor._editorInstance._showInLibrary([noteEditor._editorInstance._item.id]); +} + async function onLoad() { if (window.arguments) { var io = window.arguments[0]; diff --git a/chrome/content/zotero/note.xhtml b/chrome/content/zotero/note.xhtml index dbd0edaa96..beee6ca318 100644 --- a/chrome/content/zotero/note.xhtml +++ b/chrome/content/zotero/note.xhtml @@ -5,7 +5,9 @@ %zoteroDTD; + %editMenuOverlayDTD; + %standaloneDTD; + %zoteroDTD; ]> + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:html="http://www.w3.org/1999/xhtml" +> + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +