The branch, master has been updated via 6f5e0c9407c9857cde3e7cf578711007983a74c6 (commit) from 818965f8830ee877a4bbfe5f4255dd2db0b8ae10 (commit)
- Log ----------------------------------------------------------------- commit 6f5e0c9407c9857cde3e7cf578711007983a74c6 Author: Marc Delisle marc@infomarc.info Date: Thu Dec 30 07:08:40 2010 -0500
Unneeded wrapping of a jQuery object
-----------------------------------------------------------------------
Summary of changes: js/sql.js | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/js/sql.js b/js/sql.js index 8e7bab2..875b501 100644 --- a/js/sql.js +++ b/js/sql.js @@ -270,13 +270,13 @@ $(document).ready(function() { PMA_ajaxShowMessage();
/** - * @var the_form Object referring to the form element that paginates the results table + * @var $the_form Object referring to the form element that paginates the results table */ - var the_form = $(this).parent("form"); + var $the_form = $(this).parent("form");
- $(the_form).append('<input type="hidden" name="ajax_request" value="true" />'); + $the_form.append('<input type="hidden" name="ajax_request" value="true" />');
- $.post($(the_form).attr('action'), $(the_form).serialize(), function(data) { + $.post($the_form.attr('action'), $the_form.serialize(), function(data) { $("#sqlqueryresults").html(data); $("#sqlqueryresults").trigger('appendAnchor'); }) // end $.post()
hooks/post-receive