From: Jakub Vrana Date: Mon, 6 Dec 2010 00:13:03 +0000 (+0100) Subject: No AJAX for right-click X-Git-Tag: v3.2.0~102 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=694a3420fa8331aad8614b6b76725d828444ad49;p=adminer.git No AJAX for right-click --- 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; }