Skip to content

Commit

Permalink
FIX: ArrayListFIeld only allow adding one row at the same time to fix…
Browse files Browse the repository at this point in the history
… invalid ids
  • Loading branch information
Zauberfisch authored Apr 15, 2021
1 parent 2b9a59f commit 7a91edc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions javascript/ArrayListField.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
});
$('.zauberfisch\\\\SerializedDataObject\\\\Form\\\\ArrayListField .add-record').entwine({
onclick: function () {
if (this.hasClass('loading')) {
return false;
}
var field = this.getContainerField(),
recordList = field.getRecordList(),
_this = this,
Expand Down

0 comments on commit 7a91edc

Please sign in to comment.