Browse files

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.
  • Loading branch information...
1 parent 24184b6 commit 360b9de1dc96c47260cf2ad2e9886a161c692bda @rsnape rsnape committed Apr 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 360b9de

Please sign in to comment.