remove alert on add button

This commit is contained in:
Sanj 2012-12-26 14:26:20 +05:30
parent 9695094638
commit d80e2f5f9d

View File

@ -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() {