mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 01:48:40 +00:00
fixed bug with different column count
This commit is contained in:
parent
ff8cfbb6a2
commit
9fe0b0ca59
|
|
@ -406,6 +406,10 @@ export class Table
|
|||
const status = checkbox.checked;
|
||||
|
||||
for (let i = 0; i < rowLength; ++i) {
|
||||
if (typeof rows[i].cells[columnId] === 'undefined') {
|
||||
break;
|
||||
}
|
||||
|
||||
const box = rows[i].cells[columnId].querySelector('input[type=checkbox]');
|
||||
|
||||
if (box !== null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user