diff --git a/js/tbl_select.js b/js/tbl_select.js index 48cf97bf5..700d0cb99 100644 --- a/js/tbl_select.js +++ b/js/tbl_select.js @@ -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(); diff --git a/tbl_select.php b/tbl_select.php index 08bc546e6..0d8cbb777 100644 --- a/tbl_select.php +++ b/tbl_select.php @@ -98,7 +98,7 @@ if (!isset($param) || $param[0] == '') { // foreign keys from innodb) $foreigners = PMA_getForeigners($db, $table); ?> -
+ >