mirror of
https://github.com/openwrt/luci.git
synced 2026-01-13 17:50:23 +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()
|
hiddenEl.render()
|
||||||
]);
|
]);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
remove: function() {},
|
||||||
|
write: function() {}
|
||||||
});
|
});
|
||||||
|
|
||||||
var CBIButtonValue = CBIValue.extend({
|
var CBIButtonValue = CBIValue.extend({
|
||||||
|
|||||||
Reference in New Issue
Block a user