[jQuery] Exception with tablesorter+pager when table is empty
Hi all
at jquery.tablesorter.pager.js:149 I have this line
$(this).trigger("appendCache");
which causes this to be executed (jquery.tablesorter.js:243)
var c = cache,
r = c.row,
n= c.normalized,
totalRows = n.length,
checkCell = (n[0].length-1),
tableBody = $(table.tBodies[0]),
rows = [];
if the table is empty this will give me a
n[0] has no properties
checkCell = (n[0].length-1),
since c is empty...I think some check is missing here.
Anyone is having this?
Cheers
Francesco
--
View this message in context: http://www.nabble.com/Exception-with-tablesorter%2Bpager-when-table-is-empty-tp14254080s27240p14254080.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.