diff --git a/js/ajax.js b/js/ajax.js index e26fe76869..25b4cdde77 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -163,11 +163,11 @@ var AJAX = { // Add a list of menu hashes that we have in the cache to the request params += AJAX.cache.menus.getRequestParam(); - this._debug && console.log("Loading: " + url); // no need to translate + AJAX._debug && console.log("Loading: " + url); // no need to translate if (isLink) { AJAX.active = true; - this.$msgbox = PMA_ajaxShowMessage(); + AJAX.$msgbox = PMA_ajaxShowMessage(); $.get(url, params, AJAX.responseHandler); } else { /** @@ -180,7 +180,7 @@ var AJAX = { // or if it returns a value that evaluates to true if (typeof onsubmit !== 'function' || onsubmit.apply(this, [event])) { AJAX.active = true; - this.$msgbox = PMA_ajaxShowMessage(); + AJAX.$msgbox = PMA_ajaxShowMessage(); $.post(url, params, AJAX.responseHandler); } } diff --git a/sql.php b/sql.php index 8e5716dc83..f670b658a5 100644 --- a/sql.php +++ b/sql.php @@ -1298,7 +1298,7 @@ if ((0 == $num_rows && 0 == $unlim_num_rows) || $is_affected) { . '&id_bookmark=1'; echo '
'; echo PMA_generate_common_hidden_inputs(); echo '';