Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 360b9de1dc96c47260cf2ad2e9886a161c692bda 1 parent 24184b6
@rsnape rsnape authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  chrome/content/zotero/bindings/itembox.xml
View
2  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;
Please sign in to comment.
Something went wrong with that request. Please try again.