remove alert on add button
This commit is contained in:
parent
9695094638
commit
d80e2f5f9d
|
@ -74,7 +74,7 @@
|
|||
}
|
||||
$addBtn.click(function() {
|
||||
var nextIndex = parseInt($('#id_' + options.prefix + '-TOTAL_FORMS').val());
|
||||
alert(nextIndex);
|
||||
//alert(nextIndex);
|
||||
var row = $('.' + options.formCssClass + ' fieldset:first').clone().get(0);
|
||||
$(row).removeAttr('id').insertAfter($('.' + options.formCssClass + ' fieldset:last'));
|
||||
$(row).find('input,select,textarea,label,a').each(function() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user