mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-30 23:52:11 +01:00
Fix: The fnServerData error function can use the internal logging function now adays - make it do so - 8763
This commit is contained in:
parent
3a40c3a440
commit
fc730e17f3
4
media/js/jquery.dataTables.js
vendored
4
media/js/jquery.dataTables.js
vendored
@ -8407,8 +8407,8 @@
|
||||
"type": oSettings.sServerMethod,
|
||||
"error": function (xhr, error, thrown) {
|
||||
if ( error == "parsererror" ) {
|
||||
alert( "DataTables warning: JSON data from server could not be parsed. "+
|
||||
"This is caused by a JSON formatting error." );
|
||||
oSettings.oApi._fnLog( oSettings, 0, "DataTables warning: JSON data from "+
|
||||
"server could not be parsed. This is caused by a JSON formatting error." );
|
||||
}
|
||||
}
|
||||
} );
|
||||
|
@ -926,8 +926,8 @@ DataTable.defaults = {
|
||||
"type": oSettings.sServerMethod,
|
||||
"error": function (xhr, error, thrown) {
|
||||
if ( error == "parsererror" ) {
|
||||
alert( "DataTables warning: JSON data from server could not be parsed. "+
|
||||
"This is caused by a JSON formatting error." );
|
||||
oSettings.oApi._fnLog( oSettings, 0, "DataTables warning: JSON data from "+
|
||||
"server could not be parsed. This is caused by a JSON formatting error." );
|
||||
}
|
||||
}
|
||||
} );
|
||||
|
Loading…
x
Reference in New Issue
Block a user