From: Jo-Philipp Wich Date: Thu, 6 Jun 2019 19:05:15 +0000 (+0200) Subject: luci-base: form.js: fix rendering flag values in modals X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1482554de6c3ae12d38c6b484d38758d5d8a3b7e;p=project%2Fluci.git luci-base: form.js: fix rendering flag values in modals Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 61518b749d..0352b78077 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);