mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 09:34:10 +02:00
Edit values by Ctrl+click instead of double click
This commit is contained in:
@@ -412,8 +412,8 @@ function ajaxSetHtml(url) {
|
||||
* @param MouseEvent
|
||||
* @param number display textarea instead of input, 2 - load long text
|
||||
*/
|
||||
function selectDblClick(td, event, text) {
|
||||
if (/input|textarea/i.test(td.firstChild.tagName)) {
|
||||
function selectClick(td, event, text) {
|
||||
if (!event.ctrlKey || /input|textarea/i.test(td.firstChild.tagName)) {
|
||||
return;
|
||||
}
|
||||
var original = td.innerHTML;
|
||||
|
Reference in New Issue
Block a user