diff --git a/core/misc/ajax.js b/core/misc/ajax.js index b63bc03..8345690 100644 --- a/core/misc/ajax.js +++ b/core/misc/ajax.js @@ -556,6 +556,11 @@ return; } + // Prevent submit event on right button click + if (event.type === 'mousedown' && event.which !== 1) { + return; + } + try { if (ajax.$form) { // If setClick is set, we must set this to ensure that the button's