summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-01-09 10:57:28 +0000
committerSteven Barth <steven@midlink.org>2009-01-09 10:57:28 +0000
commit85f780f576f75dab98bd612f83d2ee97f38d44af (patch)
tree6642dd6a03af63b1e51e2a6260d540e78a63ce12 /libs/cbi/htdocs/luci-static/resources
parent25d9dc415f05bb8e535ccf3d4f3abdf67d2d9e72 (diff)
Resolve dependencies when a combobox is updated.
Diffstat (limited to 'libs/cbi/htdocs/luci-static/resources')
-rw-r--r--libs/cbi/htdocs/luci-static/resources/cbi.js6
1 files changed, 6 insertions, 0 deletions
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
+ }
})
}