diff --git a/js/core/core.ajax.js b/js/core/core.ajax.js index d5272f4b3..a6884cedd 100644 --- a/js/core/core.ajax.js +++ b/js/core/core.ajax.js @@ -66,7 +66,7 @@ function _fnBuildAjax( oSettings, data, fn ) var baseAjax = { "data": data, "success": function (json) { - var error = json.error || json.sError; + var error = typeof json == 'undefined' || json.error || json.sError; if ( error ) { _fnLog( oSettings, 0, error ); }