Conditional Ajax on table Search

This commit is contained in:
Marc Delisle
2011-01-25 07:26:54 -05:00
parent 6ca2a7bef3
commit 2064f09f42
2 changed files with 3 additions and 2 deletions

View File

@@ -48,9 +48,10 @@ $(document).ready(function() {
/**
* Ajax event handler for Table Search
*
* (see $GLOBALS['cfg']['AjaxEnable'])
* @uses PMA_ajaxShowMessage()
*/
$("#tbl_search_form").live('submit', function(event) {
$("#tbl_search_form.ajax").live('submit', function(event) {
// jQuery object to reuse
$search_form = $(this);
event.preventDefault();