www

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

commit 8ea86d77d3fc7ce374eb9f1e69580cbf210eed70
parent 7be068053765eb268dcb68e02f2a2b768456f849
Author: rsnape <rsnape@dmu.ac.uk>
Date:   Thu, 11 Apr 2013 12:15:39 +0200

Update itembox.xml

Corrects a tiny bug where pressing minus button to remove an unsaved creator row creates incorrect behaviour in the plus button in preceding row. Done in preparation for a fix I have locally for issue #251.  Please advise if I have your preferred workflow wrong.

Diffstat:
Mchrome/content/zotero/bindings/itembox.xml | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml @@ -1334,7 +1334,7 @@ var elems = this._dynamicFields.getElementsByAttribute('value', '+'); var button = elems[elems.length-1]; var creatorFields = this.getCreatorFields(Zotero.getAncestorByTagName(button, 'row')); - this._enablePlusButton(button, creatorFields.typeID, creatorFields.fieldMode); + this._enablePlusButton(button, creatorFields.creatorTypeID, creatorFields.fieldMode); this._creatorCount--; return;