mirror of
https://github.com/vrana/adminer.git
synced 2025-08-26 07:44:37 +02:00
Allow searching data in tables by Ctrl+Enter
This commit is contained in:
@@ -462,6 +462,7 @@ function getTarget(event) {
|
||||
* @return boolean
|
||||
*/
|
||||
function bodyKeydown(event, button) {
|
||||
eventStop(event);
|
||||
var target = getTarget(event);
|
||||
if (target.jushTextarea) {
|
||||
target = target.jushTextarea;
|
||||
@@ -510,7 +511,6 @@ function editingKeydown(event) {
|
||||
return false;
|
||||
}
|
||||
if (event.shiftKey && !bodyKeydown(event, 'insert')) {
|
||||
eventStop(event);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user