1
0
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:
Jakub Vrana
2013-04-01 11:22:20 -07:00
parent e531d6ef41
commit 5d68a29b3e
2 changed files with 6 additions and 2 deletions

View File

@@ -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';