From a10d5e15f6397680910e3e253c8f0386bc6cae4a Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 17 Sep 2014 08:26:39 -0400 Subject: [PATCH] bug ajax.js responseHandler: another "cannot read property" Signed-off-by: Marc Delisle --- ChangeLog | 1 + js/ajax.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c2fdfe26cc..06cf9728ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ phpMyAdmin - ChangeLog - bug #4524 Allow for direct selection of "0" on the "user overview" page - bug #4529 Undefined index: pos - bug #4523 tbl_change.js: insert as new row submit type on multiple selected records does not set all AUTO_INCREMENTs to 0 value +- bug ajax.js responseHandler: another "cannot read property" 4.2.8.1 (not yet released) - bug #4530 [security] DOM based XSS that results to a CSRF that creates a diff --git a/js/ajax.js b/js/ajax.js index f1884e0e78..7d7607cbf3 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -237,7 +237,7 @@ var AJAX = { if (typeof data === 'undefined' || data === null) { return; } - if (data.success) { + if (typeof data.success != 'undefined' && data.success) { $table_clone = false; PMA_ajaxRemoveMessage(AJAX.$msgbox);