Commit 7236d56189cf5aeab0a1b6fdf16ad93c538692cf
1 parent
afc31f26
Change form count limit in formset.js
Showing
1 changed file
with
1 additions
and
1 deletions
collector/storage/static/storage/js/formset.js
... | ... | @@ -8,7 +8,7 @@ function updateElementIndex(el, prefix, ndx) { |
8 | 8 | |
9 | 9 | function addForm(btn, prefix) { |
10 | 10 | var formCount = parseInt($('#id_' + prefix + '-TOTAL_FORMS').val()); |
11 | - if (formCount < 3) { | |
11 | + if (formCount < 100) { | |
12 | 12 | var row = $(".item:last").clone(false).get(0); |
13 | 13 | $(row).removeAttr('id').hide().insertAfter(".item:last").slideDown(300); |
14 | 14 | $(".errorlist", row).remove(); |
... | ... |