mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-30 23:52:11 +01:00
Fix: When using server-side processing the new sLoadingRecords message is not used since the draw doesn't progress that far. As a result the same issue as was fixed in commit cc1908baaff6df0efb65088a41522af4ad91a5fb could occur and needs to be addressed here by checking for server-side processing. Regression picked up by unit tests
This commit is contained in:
parent
e769731746
commit
e9afa984d4
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -3296,7 +3296,7 @@
|
||||
|
||||
var sZero = oSettings.oLanguage.sZeroRecords.replace(
|
||||
'_MAX_', oSettings.fnFormatNumber(oSettings.fnRecordsTotal()) );
|
||||
if ( oSettings.iDraw == 1 && oSettings.sAjaxSource !== null )
|
||||
if ( oSettings.iDraw == 1 && oSettings.sAjaxSource !== null && !oSettings.oFeatures.bServerSide )
|
||||
{
|
||||
sZero = oSettings.oLanguage.sLoadingRecords;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user