diff --git a/javascript/ArrayListField.js b/javascript/ArrayListField.js index a4b7567..48e6a75 100644 --- a/javascript/ArrayListField.js +++ b/javascript/ArrayListField.js @@ -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,