From d80e2f5f9deaa363f65baf3339a5aa9cb45f60bd Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 26 Dec 2012 14:26:20 +0530 Subject: [PATCH] remove alert on add button --- itf/static/js/jquery.formset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itf/static/js/jquery.formset.js b/itf/static/js/jquery.formset.js index 428f0e4..ec60ee9 100644 --- a/itf/static/js/jquery.formset.js +++ b/itf/static/js/jquery.formset.js @@ -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() {