1
0
Fork 0

Fixed Problem with permanent txing first row (in time).

main
Kim Huebel 4 years ago
parent 0ed62ded40
commit 03a926de96

@ -392,7 +392,8 @@ function getLastHeard(document, event) {
logIt("RowIndexes: " + rowIndexes); logIt("RowIndexes: " + rowIndexes);
if (rowIndexes[0]) { if (rowIndexes[0]) {
if (rowIndexes[0] == "0") { if (rowIndexes[0] == "0") {
rowIndexes[0] = rowIndexes[1]; t_lh.row(rowIndexes[0]).remove().draw(false);
//rowIndexes[0] = rowIndexes[1];
} }
logIt(t_lh.row(rowIndexes[0])); logIt(t_lh.row(rowIndexes[0]));
if (t_lh.row(rowIndexes[0]).data[0] != null) { if (t_lh.row(rowIndexes[0]).data[0] != null) {
@ -452,7 +453,8 @@ function getLastHeard(document, event) {
return false; return false;
}); });
if (rowIndexes[0] == "0") { if (rowIndexes[0] == "0") {
rowIndexes[0] = rowIndexes[1]; t_lh.row(rowIndexes[0]).remove().draw(false);
//rowIndexes[0] = rowIndexes[1];
} }
if (rowIndexes[0]) { if (rowIndexes[0]) {

Loading…
Cancel
Save