Ticket #135 (new defect)
Opened 3 years ago
cbi.js / cbi_d_update() always gives error
| Reported by: | reporter | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | LuCI Applications | Keywords: | cbi.js cbi_d_update |
| Cc: |
Description
var entry is defined inside the loop, and accessed after loop is over (if (entry.parent)...), which breaks execution.
Needs to declare the var before the loop & check for non-null value.
Attachments
Note: See
TracTickets for help on using
tickets.
