diff --git a/chrome/content/zotero/integration/addCitationDialog.js b/chrome/content/zotero/integration/addCitationDialog.js index 5da4c62634..5323989b73 100644 --- a/chrome/content/zotero/integration/addCitationDialog.js +++ b/chrome/content/zotero/integration/addCitationDialog.js @@ -70,6 +70,7 @@ var Zotero_Citation_Dialog = new function () { * initialize add citation dialog */ function load() { + document.documentElement.setAttribute("drawintitlebar", "true"); document.documentElement.getButton("extra1").label = Zotero.getString("citation.multipleSources"); document.documentElement.getButton("extra2").label = Zotero.getString("citation.showEditor"); diff --git a/chrome/content/zotero/integration/addCitationDialog.xul b/chrome/content/zotero/integration/addCitationDialog.xul index b7665e1389..65bb58682a 100644 --- a/chrome/content/zotero/integration/addCitationDialog.xul +++ b/chrome/content/zotero/integration/addCitationDialog.xul @@ -38,12 +38,14 @@ width="600" height="450" onload="Zotero_Citation_Dialog.load();" onunload="doUnload();" - ondialogaccept="return Zotero_Citation_Dialog.accept();" - ondialogcancel="Zotero_Citation_Dialog.cancel();" + xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" persist="screenX screenY width height" - resizable="true" + style="background: transparent; -moz-appearance:none; padding: 0" + chromemargin="0, 0, 0, 0" buttons="extra1,extra2,accept,cancel" + ondialogaccept="return Zotero_Citation_Dialog.accept();" + ondialogcancel="Zotero_Citation_Dialog.cancel();" ondialogextra2="Zotero_Citation_Dialog.toggleEditor()" ondialogextra1="Zotero_Citation_Dialog.toggleMultipleSources()"> @@ -51,7 +53,7 @@