From be5b3b5c6460868f2353ae2211d9a9a0c5f064aa Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 31 Oct 2010 07:32:36 -0400 Subject: [PATCH] do not append ajax_request more than once --- js/tbl_change.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/tbl_change.js b/js/tbl_change.js index 3608b40a6..700995c1d 100644 --- a/js/tbl_change.js +++ b/js/tbl_change.js @@ -286,7 +286,9 @@ $(document).ready(function() { event.preventDefault(); PMA_ajaxShowMessage(); - $(the_form).append(''); + if (! the_form.find('input:hidden').is('#ajax_request_hidden')) { + the_form.append(''); + } $.post($(the_form).attr('action'), $(the_form).serialize(), function(data) { if(data.success == true) {