diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-13 17:36:16 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-14 17:09:12 +0200 |
commit | 952b169167bc562be17d4022d8be06978c8a61aa (patch) | |
tree | 18b1b16f116a701c317e0466135d22da944de590 /applications/luci-app-firewall/htdocs/luci-static/resources/tools | |
parent | 0f8e5b2536d1226b98ff14c78663bd21736e08a3 (diff) |
luci-app-firewall: tools/firewall.js: honour readonly property
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-firewall/htdocs/luci-static/resources/tools')
-rw-r--r-- | applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js b/applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js index e85b6bc6e..32998c2ff 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js @@ -537,6 +537,7 @@ return baseclass.extend({ display_items: 10, dropdown_items: -1, create: true, + disabled: (this.readonly != null) ? this.readonly : this.map.readonly, validate: function(value) { var v = L.toArray(value); |