projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25d9dc4
)
Resolve dependencies when a combobox is updated.
author
Steven Barth
<steven@midlink.org>
Fri, 9 Jan 2009 10:57:28 +0000
(10:57 +0000)
committer
Steven Barth
<steven@midlink.org>
Fri, 9 Jan 2009 10:57:28 +0000
(10:57 +0000)
libs/cbi/htdocs/luci-static/resources/cbi.js
patch
|
blob
|
history
diff --git
a/libs/cbi/htdocs/luci-static/resources/cbi.js
b/libs/cbi/htdocs/luci-static/resources/cbi.js
index abeba345bdee8379ca857943ae0136e28f77b2c2..77c59e511ee7d26f99474cddcf07f2913ce9b19c 100644
(file)
--- 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
+ }
})
}