projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ff88fc
)
Work around an ugly Opera and Internet Explorer event handling bug.
author
Steven Barth
<steven@midlink.org>
Thu, 18 Sep 2008 14:36:26 +0000
(14:36 +0000)
committer
Steven Barth
<steven@midlink.org>
Thu, 18 Sep 2008 14:36:26 +0000
(14:36 +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 33a328cff6f227c0b1fdd213719d6432882068fe..eb2420a1c1a27b0947221da8374b9ae65d90f54e 100644
(file)
--- a/
libs/cbi/htdocs/luci-static/resources/cbi.js
+++ b/
libs/cbi/htdocs/luci-static/resources/cbi.js
@@
-102,8
+102,14
@@
function cbi_bind(obj, type, callback, mode) {
}
function cbi_combobox(id, values, def, man) {
+ var selid = "cbi.combobox." + id
+ if (document.getElementById(selid)) {
+ return
+ }
+
var obj = document.getElementById(id)
var sel = document.createElement("select");
+ sel.id = selid
if (obj.nextSibling) {
obj.parentNode.insertBefore(sel, obj.nextSibling);
} else {