Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhura Jayaratne <madhura.cj@gmail.com>2015-06-26 11:37:00 +0300
committerMadhura Jayaratne <madhura.cj@gmail.com>2015-06-26 11:37:00 +0300
commitd9afc6a7ec835419f967358887a767595c4d516f (patch)
tree6550db19232310f96bff82450fa3a1bb9f096f3e /js/console.js
parentad01805ecc6d22aa94a49117442034df3e73516c (diff)
parentbeaa73274f9bdb8b13339b407014454efc142267 (diff)
Merge branch 'QA_4_4'
Diffstat (limited to 'js/console.js')
-rw-r--r--js/console.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/console.js b/js/console.js
index 9c52dd45fd..7edeaf560c 100644
--- a/js/console.js
+++ b/js/console.js
@@ -197,7 +197,7 @@ var PMA_console = {
PMA_console.ajaxCallback(data);
} catch (e) {
console.log("Invalid JSON!" + e.message);
- if (AJAX.xhr.status === 0 && AJAX.xhr.statusText !== 'abort') {
+ if (AJAX.xhr && AJAX.xhr.status === 0 && AJAX.xhr.statusText !== 'abort') {
PMA_ajaxShowMessage($('<div />',{class:'error',html:PMA_messages.strRequestFailed+' ( '+AJAX.xhr.statusText+' )'}));
AJAX.active = false;
AJAX.xhr = null;