1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-01 13:24:10 +01:00

Fix: Legacy API error when using fnGetNodes on an empty table

This commit is contained in:
Allan Jardine 2014-03-14 14:06:30 +00:00
parent c1841e6eff
commit c0c1db422f
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
986ac570ba5ebda7a8dc7ee983ef927a4fccbd5d
a6ba26cc32db737bea178fac2a23d2ea2f7923af

View File

@ -5398,7 +5398,7 @@
api.row( src ).data();
}
return api.data().toArray();
return api.data().flatten().toArray();
};
@ -5426,7 +5426,7 @@
return iRow !== undefined ?
api.row( iRow ).node() :
api.rows().nodes().toArray();
api.rows().nodes().flatten().toArray();
};