summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-04-02 08:17:29 +0200
committerJo-Philipp Wich <jo@mein.io>2019-04-02 08:17:36 +0200
commitfb453f552ed5bd5f76604b970e51e0b9abdac561 (patch)
tree9aba9f9db3ad42bb54df713235807a0673eae783 /modules/luci-base/luasrc/view
parent12322c56f839cc43c1403d6238250edafb68b6df (diff)
luci-base: increase max size of network dropdowns
Fixes: #2646 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/luasrc/view')
-rw-r--r--modules/luci-base/luasrc/view/cbi/network_ifacelist.htm2
-rw-r--r--modules/luci-base/luasrc/view/cbi/network_netlist.htm2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/network_ifacelist.htm b/modules/luci-base/luasrc/view/cbi/network_ifacelist.htm
index 55a7e3168..f23e51d18 100644
--- a/modules/luci-base/luasrc/view/cbi/network_ifacelist.htm
+++ b/modules/luci-base/luasrc/view/cbi/network_ifacelist.htm
@@ -41,7 +41,7 @@
<input type="hidden" name="<%=cbeid%>" value="1" />
-<div class="cbi-dropdown" display-items="5" placeholder="<%:-- please select -- %>"<%=
+<div class="cbi-dropdown" display-items="10" placeholder="<%:-- please select -- %>"<%=
attr("name", cbid) ..
ifattr(self.widget == "checkbox", "multiple", "multiple") ..
ifattr(self.widget == "checkbox", "optional", "optional")
diff --git a/modules/luci-base/luasrc/view/cbi/network_netlist.htm b/modules/luci-base/luasrc/view/cbi/network_netlist.htm
index d3efcc062..3ee4274a3 100644
--- a/modules/luci-base/luasrc/view/cbi/network_netlist.htm
+++ b/modules/luci-base/luasrc/view/cbi/network_netlist.htm
@@ -20,7 +20,7 @@
end
-%>
-<div class="cbi-dropdown" display-items="5" placeholder="<%:-- please select -- %>"<%=
+<div class="cbi-dropdown" display-items="10" placeholder="<%:-- please select -- %>"<%=
attr("name", cbid) ..
ifattr(self.widget == "checkbox", "multiple", "multiple") ..
ifattr(self.widget == "checkbox", "optional", "optional")