mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 01:54:00 +02:00
Edit select SQL query on Ctrl+click
This commit is contained in:
@@ -203,11 +203,11 @@ function selectFieldChange(form) {
|
||||
* @param MouseEvent
|
||||
* @param HTMLSpanElement
|
||||
* @param string
|
||||
* @return boolean
|
||||
*/
|
||||
function selectEditSql(event, el, label) {
|
||||
if (isCtrl(event) || event.altKey) {
|
||||
return false;
|
||||
var a = parentTag(event.target || event.srcElement, 'a');
|
||||
if (!isCtrl(event) || (a && a.href)) {
|
||||
return;
|
||||
}
|
||||
var sql = el.firstChild;
|
||||
var input = document.createElement('input');
|
||||
|
Reference in New Issue
Block a user