diff options
author | Marc Delisle <marc@infomarc.info> | 2011-01-27 14:46:17 +0300 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2011-01-27 14:46:17 +0300 |
commit | 6b51fd57adcfe67ac4ad8188458e692d310521e7 (patch) | |
tree | ed8dfce91495e075856c5f79b667a1d9120ca4c8 /db_search.php | |
parent | b8b77503d2427b268340af68dad414e13b1dd16d (diff) |
Conditional Ajax on db Search
Remove extra wrapping of jQuery object
Avoid extra generation of hidden field
Add vim modeline
Diffstat (limited to 'db_search.php')
-rw-r--r-- | db_search.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db_search.php b/db_search.php index 22415aae0a..018587977f 100644 --- a/db_search.php +++ b/db_search.php @@ -290,7 +290,7 @@ else { */ ?> <a name="db_search"></a> -<form id="db_search_form" method="post" action="db_search.php" name="db_search"> +<form id="db_search_form"<?php echo ($GLOBALS['cfg']['AjaxEnable'] ? ' class="ajax"' : ''); ?> method="post" action="db_search.php" name="db_search"> <?php echo PMA_generate_common_hidden_inputs($GLOBALS['db']); ?> <fieldset> <legend><?php echo __('Search in database'); ?></legend> |