bug ajax.js responseHandler: cannot read property of null

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Marc Delisle 2014-09-01 11:39:07 -04:00
parent d56af4f911
commit 2a34539a48
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ phpMyAdmin - ChangeLog
======================
4.2.9.0 (not yet released)
- bug ajax.js responseHandler: cannot read property of null
4.2.8.0 (2014-08-31)
- bug #4516 Odd export behavior

View File

@ -234,7 +234,7 @@ var AJAX = {
* @return void
*/
responseHandler: function (data) {
if (typeof data === 'undefined') {
if (typeof data === 'undefined' || data === null) {
return;
}
if (data.success) {