From 694a3420fa8331aad8614b6b76725d828444ad49 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 6 Dec 2010 01:13:03 +0100 Subject: [PATCH] No AJAX for right-click --- adminer/static/functions.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/adminer/static/functions.js b/adminer/static/functions.js index 197c0581..d8ee552b 100644 --- a/adminer/static/functions.js +++ b/adminer/static/functions.js @@ -377,6 +377,9 @@ function selectDblClick(td, event, text) { * @return bool */ function bodyClick(event, db, ns) { + if (event.button) { + return; + } if (event.getPreventDefault ? event.getPreventDefault() : event.returnValue === false) { return false; }