projects
/
project
/
luci2
/
ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
129faaf
)
luci2: support placeholder attribute for L.cbi.DummyValue widgets
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 13 Apr 2014 20:50:00 +0000
(22:50 +0200)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 13 Apr 2014 20:50:00 +0000
(22:50 +0200)
luci2/htdocs/luci2/luci2.js
patch
|
blob
|
history
diff --git
a/luci2/htdocs/luci2/luci2.js
b/luci2/htdocs/luci2/luci2.js
index 849a4d4d08f3036f8e9747a74c9774e259310895..2b4a5f18b45d6f89a4055ede3b1eaa8e895e82a7 100644
(file)
--- a/
luci2/htdocs/luci2/luci2.js
+++ b/
luci2/htdocs/luci2/luci2.js
@@
-5989,7
+5989,7
@@
function LuCI2()
return $('<div />')
.addClass('form-control-static')
.attr('id', this.id(sid))
- .html(this.ucivalue(sid));
+ .html(this.ucivalue(sid)
|| this.label('placeholder')
);
},
formvalue: function(sid)