From 85f780f576f75dab98bd612f83d2ee97f38d44af Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 9 Jan 2009 10:57:28 +0000 Subject: [PATCH] Resolve dependencies when a combobox is updated. --- libs/cbi/htdocs/luci-static/resources/cbi.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/cbi/htdocs/luci-static/resources/cbi.js b/libs/cbi/htdocs/luci-static/resources/cbi.js index abeba345b..77c59e511 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 + } }) } -- 2.25.1