mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-16 01:08:41 +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;
|
const status = checkbox.checked;
|
||||||
|
|
||||||
for (let i = 0; i < rowLength; ++i) {
|
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]');
|
const box = rows[i].cells[columnId].querySelector('input[type=checkbox]');
|
||||||
|
|
||||||
if (box !== null) {
|
if (box !== null) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user