luci-base: form.js: disable write/remove actions for DummyValue widgets
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
b9d378b17d
commit
c352fbf5e9
@ -1635,6 +1635,9 @@ var CBIDummyValue = CBIValue.extend({
|
||||
hiddenEl.render()
|
||||
]);
|
||||
},
|
||||
|
||||
remove: function() {},
|
||||
write: function() {}
|
||||
});
|
||||
|
||||
var CBIButtonValue = CBIValue.extend({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user