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:
cd29fdd
)
luci-base: ui.js: apply disabled attribute to toplevel dynlist node
author
Jo-Philipp Wich
<jo@mein.io>
Thu, 16 Apr 2020 11:19:35 +0000
(13:19 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000
(19:40 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
46d31efc7351231def16be1024eff95c5b792f94
)
modules/luci-base/htdocs/luci-static/resources/ui.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/ui.js
b/modules/luci-base/htdocs/luci-static/resources/ui.js
index d5d4d914b897c23881744353fc479e26cd286bdf..d0045007b9d1cb5806e39084b6d903e1444ec3a7 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/ui.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/ui.js
@@
-2126,7
+2126,8
@@
var UIDynamicList = UIElement.extend(/** @lends LuCI.ui.DynamicList.prototype */
render: function() {
var dl = E('div', {
'id': this.options.id,
- 'class': 'cbi-dynlist'
+ 'class': 'cbi-dynlist',
+ 'disabled': this.options.disabled ? '' : null
}, E('div', { 'class': 'add-item' }));
if (this.choices) {