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
1 changed files with 3 additions and 0 deletions
|
@ -1635,6 +1635,9 @@ var CBIDummyValue = CBIValue.extend({
|
||||||
hiddenEl.render()
|
hiddenEl.render()
|
||||||
]);
|
]);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
remove: function() {},
|
||||||
|
write: function() {}
|
||||||
});
|
});
|
||||||
|
|
||||||
var CBIButtonValue = CBIValue.extend({
|
var CBIButtonValue = CBIValue.extend({
|
||||||
|
|
Loading…
Reference in a new issue