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:
c2f8bc9
)
luci-base: form.js: default to unlimited dropdown size
author
Jo-Philipp Wich
<jo@mein.io>
Tue, 28 May 2019 13:31:26 +0000
(15:31 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Sun, 7 Jul 2019 13:36:25 +0000
(15:36 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/form.js
b/modules/luci-base/htdocs/luci-static/resources/form.js
index 835c1fbb61e2e2f801fc90937e99891fe1da3282..9351bae035b07179afb8296f5f760b70c9b74605 100644
(file)
--- a/
modules/luci-base/htdocs/luci-static/resources/form.js
+++ b/
modules/luci-base/htdocs/luci-static/resources/form.js
@@
-1543,7
+1543,7
@@
var CBIMultiValue = CBIDynamicList.extend({
optional: this.optional || this.rmempty,
select_placeholder: this.placeholder,
display_items: this.display_size || this.size || 3,
- dropdown_items: this.dropdown_size || this.size ||
5
,
+ dropdown_items: this.dropdown_size || this.size ||
-1
,
validate: L.bind(this.validate, this, section_id)
});