From 1482554de6c3ae12d38c6b484d38758d5d8a3b7e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 6 Jun 2019 21:05:15 +0200 Subject: [PATCH] luci-base: form.js: fix rendering flag values in modals Signed-off-by: Jo-Philipp Wich --- modules/luci-base/htdocs/luci-static/resources/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 61518b749..0352b7807 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -1084,7 +1084,7 @@ var CBITableSection = CBITypedSection.extend({ for (var i = 0; i < this.children.length; i++) { var o1 = this.children[i]; - if (o1.disabled || o1.modalonly === false) + if (o1.modalonly === false) continue; var o2 = s.option(o1.constructor, o1.option, o1.title, o1.description); -- 2.25.1