mirror of
https://github.com/DataTables/DataTables.git
synced 2025-03-15 16:29:16 +01:00
Merge pull request #97 from timtucker/patch-13
Update media/src/core/core.info.js
This commit is contained in:
commit
30f936d8ff
@ -49,25 +49,20 @@ function _fnUpdateInfo ( oSettings )
|
|||||||
iTotal = oSettings.fnRecordsDisplay(),
|
iTotal = oSettings.fnRecordsDisplay(),
|
||||||
sOut;
|
sOut;
|
||||||
|
|
||||||
if ( iTotal === 0 && iTotal == iMax )
|
if ( iTotal === 0 )
|
||||||
{
|
{
|
||||||
/* Empty record set */
|
/* Empty record set */
|
||||||
sOut = oLang.sInfoEmpty;
|
sOut = oLang.sInfoEmpty;
|
||||||
}
|
}
|
||||||
else if ( iTotal === 0 )
|
else {
|
||||||
{
|
|
||||||
/* Empty record set after filtering */
|
|
||||||
sOut = oLang.sInfoEmpty +' '+ oLang.sInfoFiltered;
|
|
||||||
}
|
|
||||||
else if ( iTotal == iMax )
|
|
||||||
{
|
|
||||||
/* Normal record set */
|
/* Normal record set */
|
||||||
sOut = oLang.sInfo;
|
sOut = oLang.sInfo;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
|
if ( iTotal != iMax )
|
||||||
{
|
{
|
||||||
/* Record set after filtering */
|
/* Record set after filtering */
|
||||||
sOut = oLang.sInfo +' '+ oLang.sInfoFiltered;
|
sOut += ' ' + oLang.sInfoFiltered;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Convert the macros
|
// Convert the macros
|
||||||
|
Loading…
x
Reference in New Issue
Block a user