mirror of
https://github.com/DataTables/DataTables.git
synced 2025-01-30 23:52:11 +01:00
Dev fix: Show "Loading..." message when using ajax
option not just
sAjaxSource
This commit is contained in:
parent
c20681668a
commit
1daaf4e473
@ -1 +1 @@
|
||||
d2937aa4bf198fc04533c0ed9e48dabeed4b967f
|
||||
a681f6527ee2d760681d23120eb27229b69ade03
|
||||
|
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -1817,7 +1817,7 @@
|
||||
{
|
||||
/* Table is empty - create a row with an empty message in it */
|
||||
var sZero = oLang.sZeroRecords;
|
||||
if ( oSettings.iDraw == 1 && oSettings.sAjaxSource !== null && !bServerSide )
|
||||
if ( oSettings.iDraw == 1 && (oSettings.sAjaxSource || oSettings.ajax) && !bServerSide )
|
||||
{
|
||||
sZero = oLang.sLoadingRecords;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user