commit 360b9de1dc96c47260cf2ad2e9886a161c692bda
parent 24184b6dc19ac00db2ad19ce51b137c093c2e55e
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:
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;