mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 11:34:10 +02:00
Support one click search in Editor
This commit is contained in:
@@ -193,7 +193,7 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5
|
||||
|
||||
function selectSearchPrint($where, $columns, $indexes) {
|
||||
$where = (array) $_GET["where"];
|
||||
echo '<fieldset><legend>' . lang('Search') . "</legend><div>\n";
|
||||
echo '<fieldset id="fieldset-search"><legend>' . lang('Search') . "</legend><div>\n";
|
||||
$keys = array();
|
||||
foreach ($where as $key => $val) {
|
||||
$keys[$val["col"]] = $key;
|
||||
|
@@ -3,6 +3,9 @@
|
||||
function bodyLoad(version) {
|
||||
}
|
||||
|
||||
function selectFieldChange(form) {
|
||||
}
|
||||
|
||||
function whisperClick(event, field) {
|
||||
var el = event.target || event.srcElement;
|
||||
if (/^a$/i.test(el.tagName) && !(event.button || event.ctrlKey || event.shiftKey || event.altKey || event.metaKey)) {
|
||||
|
Reference in New Issue
Block a user