luci-base: form.js: fix rendering flag values in modals
authorJo-Philipp Wich <jo@mein.io>
Thu, 6 Jun 2019 19:05:15 +0000 (21:05 +0200)
committerJo-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

index 61518b749d097b768d6b6f7d06f3c8f4e99af568..0352b7807780a8da08cd5d6ac9808553f3524947 100644 (file)
@@ -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);