mirror of
https://github.com/openwrt/luci.git
synced 2025-12-26 13:26:20 +04:00
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:
@@ -1635,6 +1635,9 @@ var CBIDummyValue = CBIValue.extend({
|
||||
hiddenEl.render()
|
||||
]);
|
||||
},
|
||||
|
||||
remove: function() {},
|
||||
write: function() {}
|
||||
});
|
||||
|
||||
var CBIButtonValue = CBIValue.extend({
|
||||
|
||||
Reference in New Issue
Block a user