luci-app-firewall: tools/firewall.js: honour readonly property
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
0f8e5b2536
commit
952b169167
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue