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:
Jo-Philipp Wich 2019-08-21 12:50:07 +02:00
parent b9d378b17d
commit c352fbf5e9

View file

@ -1635,6 +1635,9 @@ var CBIDummyValue = CBIValue.extend({
hiddenEl.render()
]);
},
remove: function() {},
write: function() {}
});
var CBIButtonValue = CBIValue.extend({