Merge pull request #434 from christhomas/master

I modified the location where the pager creates new <td> elements by fir...
This commit is contained in:
Rob G 2013-11-26 11:24:05 -08:00
commit f40e009347

View File

@ -279,7 +279,11 @@
tds += '<tr>';
for ( j = 0; j < d[i].length; j++ ) {
// build tbody cells
tds += '<td>' + d[i][j] + '</td>';
var temp = $("<td>").html(d[i][j]);
var inner = temp.find("td");
temp = inner.length ? inner : temp.wrap("<div>").parent();
tds += temp.wrap("<div>").parent().html();
}
tds += '</tr>';
}