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:
616d2a6
)
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, 16 Apr 2020 11:30:35 +0000
(13:30 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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 21d86fe3dc6a526a2f2b6515d98ea27695b42767..57f8e2bff4f2625e25edef37729de0fcb6bace15 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) {