commit e945b84b5f265ff7312462b998ca8cd5b6cdf0d3
parent 68cbef118ff473e591f67d50f8a8dcc2262d06ba
Author: Simon Kornblith <simon@simonster.com>
Date: Fri, 22 Jul 2011 07:09:40 +0000
Backing out r9930, as it causes serious issues on Windows
Diffstat:
2 files changed, 4 insertions(+), 17 deletions(-)
diff --git a/chrome/content/zotero/integration/addCitationDialog.js b/chrome/content/zotero/integration/addCitationDialog.js
@@ -70,7 +70,6 @@ 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
@@ -38,14 +38,12 @@
width="600" height="450"
onload="Zotero_Citation_Dialog.load();"
onunload="doUnload();"
- xmlns:html="http://www.w3.org/1999/xhtml"
+ ondialogaccept="return Zotero_Citation_Dialog.accept();"
+ ondialogcancel="Zotero_Citation_Dialog.cancel();"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
persist="screenX screenY width height"
- style="background: transparent; -moz-appearance:none; padding: 0"
- chromemargin="0, 0, 0, 0"
+ resizable="true"
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()">
@@ -53,7 +51,7 @@
<script src="../selectItemsDialog.js"/>
<script src="addCitationDialog.js"/>
- <vbox id="zotero-select-items-container" style="background: rgba(239,239,239,0.9); border-radius:15px; padding: 5px;" flex="1">
+ <vbox id="zotero-select-items-container" flex="1">
<vbox flex="1">
<hbox flex="1">
<vbox align="stretch" flex="1">
@@ -203,15 +201,5 @@
<textbox id="editor" type="styled" mode="integration" hidden="true" flex="1"/>
<!-- TODO: localize -->
<description id="zotero-editor-warning" style="margin: 9px 1px 0" hidden="true">Warning: If you edit a citation in the editor it will no longer update to reflect changes in your database or the citation style.</description>
- <hbox>
- <hbox flex="1">
- <button dlgtype="extra1"/>
- <button dlgtype="extra2"/>
- </hbox>
- <hbox>
- <button dlgtype="cancel"/>
- <button dlgtype="accept"/>
- </hbox>
- </hbox>
</vbox>
</dialog>