mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 01:54:00 +02:00
Don't use AJAX with Ctrl
This commit is contained in:
@@ -206,9 +206,13 @@ var ajaxTimeout;
|
||||
/** Load content to #main
|
||||
* @param string
|
||||
* @param [string]
|
||||
* @param [MouseEvent]
|
||||
* @return XMLHttpRequest or false in case of an error
|
||||
*/
|
||||
function ajaxMain(url, data) {
|
||||
function ajaxMain(url, data, event) {
|
||||
if (event && event.ctrlKey) {
|
||||
return false;
|
||||
}
|
||||
var currentState = ++ajaxState;
|
||||
clearTimeout(ajaxTimeout);
|
||||
ajaxTimeout = setTimeout(function () {
|
||||
|
Reference in New Issue
Block a user