From 09ef00ec1c31cc578278fa7839a10dbd636a6a2f Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 9 Jan 2009 10:58:31 +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.11.0