From c352fbf5e95b5f399810cd159b338783c093dcdf Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 21 Aug 2019 12:50:07 +0200 Subject: luci-base: form.js: disable write/remove actions for DummyValue widgets Signed-off-by: Jo-Philipp Wich --- modules/luci-base/htdocs/luci-static/resources/form.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/luci-base') diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index cb6bf7929..2d1d6960b 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({ -- cgit v1.2.3