1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-01 02:54:15 +01:00

Dev fix: Show "Loading..." message when using ajax option not just

sAjaxSource
This commit is contained in:
Allan Jardine 2013-12-11 09:32:28 +00:00
parent c20681668a
commit 1daaf4e473
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
d2937aa4bf198fc04533c0ed9e48dabeed4b967f a681f6527ee2d760681d23120eb27229b69ade03

@ -1817,7 +1817,7 @@
{ {
/* Table is empty - create a row with an empty message in it */ /* Table is empty - create a row with an empty message in it */
var sZero = oLang.sZeroRecords; var sZero = oLang.sZeroRecords;
if ( oSettings.iDraw == 1 && oSettings.sAjaxSource !== null && !bServerSide ) if ( oSettings.iDraw == 1 && (oSettings.sAjaxSource || oSettings.ajax) && !bServerSide )
{ {
sZero = oLang.sLoadingRecords; sZero = oLang.sLoadingRecords;
} }