From 360b9de1dc96c47260cf2ad2e9886a161c692bda Mon Sep 17 00:00:00 2001 From: rsnape Date: Thu, 11 Apr 2013 12:15:39 +0200 Subject: [PATCH] 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. --- chrome/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 index 15cfe3bc68..f463ccf6e8 100644 --- 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;