From 7ee1b1e491608370cbd8f273e7cc8a080e5b2ca1 Mon Sep 17 00:00:00 2001 From: gracile-fr Date: Thu, 14 Jun 2012 17:19:30 +0200 Subject: [PATCH] Frank's patch https://github.com/zotero/zotero/issues/132 Menu item to swap creator first/last names (#132) --- chrome/content/zotero/bindings/itembox.xml | 43 +++++++++++++++++++++- chrome/locale/en-US/zotero/zotero.dtd | 2 + 2 files changed, 44 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml index 66ffb0a135..92bc809daa 100644 --- a/chrome/content/zotero/bindings/itembox.xml +++ b/chrome/content/zotero/bindings/itembox.xml @@ -712,6 +712,7 @@ // Name var firstlast = document.createElement("hbox"); + firstlast.setAttribute("context", "creator-transform-menu"); firstlast.className = 'creator-name-box'; firstlast.setAttribute("flex","1"); var tabindex = this._tabIndexMinCreators + (this._creatorCount * 2); @@ -2166,6 +2167,24 @@ + + + + + + @@ -2433,7 +2452,29 @@ oncommand="document.getBindingParent(this).textTransform(document.popupNode, 'sentence')"/> - + + + + + + + + diff --git a/chrome/locale/en-US/zotero/zotero.dtd b/chrome/locale/en-US/zotero/zotero.dtd index 97c1dbc327..c5a8961758 100644 --- a/chrome/locale/en-US/zotero/zotero.dtd +++ b/chrome/locale/en-US/zotero/zotero.dtd @@ -104,6 +104,8 @@ + +