[luci] [LuCI] #135: cbi.js / cbi_d_update() always gives error

LuciTrac trac at luci.subsignal.org
Thu Jun 24 09:53:12 CEST 2010


#135: cbi.js / cbi_d_update() always gives error
-------------------------------+--------------------------------------------
 Reporter:  reporter           |       Owner:                     
     Type:  defect             |      Status:  new                
 Priority:  minor              |   Milestone:                     
Component:  LuCI Applications  |    Keywords:  cbi.js cbi_d_update
-------------------------------+--------------------------------------------
 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.

-- 
Ticket URL: <http://luci.subsignal.org/ticket/135>
LuCI <http://luci.subsignal.org>
LuCI - Lua Configuration Interface


More information about the luci mailing list