diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-08-21 12:50:07 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-09-10 15:28:16 +0200 |
commit | c352fbf5e95b5f399810cd159b338783c093dcdf (patch) | |
tree | a54964fa5b0c3484b94291811c2203018544355f /modules/luci-base | |
parent | b9d378b17d65dd59345c30925459db1dde8ec567 (diff) |
luci-base: form.js: disable write/remove actions for DummyValue widgets
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/form.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index cb6bf7929a..2d1d6960ba 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -1635,6 +1635,9 @@ var CBIDummyValue = CBIValue.extend({ hiddenEl.render() ]); }, + + remove: function() {}, + write: function() {} }); var CBIButtonValue = CBIValue.extend({ |