From: Steven Barth Date: Fri, 9 Jan 2009 10:57:28 +0000 (+0000) Subject: Resolve dependencies when a combobox is updated. X-Git-Tag: 0.9.0~819 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=85f780f576f75dab98bd612f83d2ee97f38d44af;p=project%2Fluci.git Resolve dependencies when a combobox is updated. --- diff --git a/libs/cbi/htdocs/luci-static/resources/cbi.js b/libs/cbi/htdocs/luci-static/resources/cbi.js index abeba345bd..77c59e511e 100644 --- a/libs/cbi/htdocs/luci-static/resources/cbi.js +++ b/libs/cbi/htdocs/luci-static/resources/cbi.js @@ -172,6 +172,12 @@ function cbi_combobox(id, values, def, man) { } else { obj.value = sel.options[sel.selectedIndex].value; } + + try { + cbi_d_update(); + } catch (e) { + //Do nothing + } }) }