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.
This commit is contained in:
parent
24184b6dc1
commit
360b9de1dc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue