mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 01:54:00 +02:00
Open full edit SQL with Ctrl
This commit is contained in:
@@ -169,11 +169,15 @@ function selectFieldChange(form) {
|
||||
}
|
||||
|
||||
/** Create edit query form
|
||||
* @param MouseEvent
|
||||
* @param HTMLSpanElement
|
||||
* @param string
|
||||
* @return boolean
|
||||
*/
|
||||
function selectEditSql(el, label) {
|
||||
function selectEditSql(event, el, label) {
|
||||
if (isCtrl(event) || event.altKey) {
|
||||
return false;
|
||||
}
|
||||
var sql = el.firstChild;
|
||||
var input = document.createElement('input');
|
||||
input.name = 'query';
|
||||
|
Reference in New Issue
Block a user