www

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

commit 5d54dd9fbfcb99ec478586942dbe57e54313b89d
parent 64444775808736aef64c07260957dfc1a6bc68bf
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 14 Feb 2014 04:13:18 -0500

Tweaks to csledit

- Show "Citation Style Language" in Format drop-down
- Reverse positions of Refresh and Save

Follow up to #454

Diffstat:
Mchrome/content/zotero/tools/csledit.xul | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/tools/csledit.xul b/chrome/content/zotero/tools/csledit.xul @@ -78,6 +78,7 @@ var fp = Components.classes["@mozilla.org/filepicker;1"] .createInstance(nsIFilePicker); fp.init(window, "Save Citation Style", nsIFilePicker.modeSave); + fp.appendFilter("Citation Style Language", "*.csl"); //get the filename from the id; we could consider doing even more here like creating the id from filename. var parser = new DOMParser(); var doc = parser.parseFromString(style, 'text/xml'); @@ -219,8 +220,8 @@ <vbox flex="1"> <hbox align="center"> - <button id="zotero-csl-save" label="Save" oncommand="Zotero_CSL_Editor.save()"/> <button id="preview-refresh-button" label="Refresh" oncommand="Zotero_CSL_Editor.refresh()"/> + <button id="zotero-csl-save" label="Save" oncommand="Zotero_CSL_Editor.save()"/> <menulist id="zotero-csl-page-type" style="min-height: 1.6em; min-width: 50px" oncommand="Zotero_CSL_Editor.refresh()" /> <label value=":" /> <textbox size="5" id="preview-pages" type="timed" timeout="250" oncommand="Zotero_CSL_Editor.refresh()"/>