luci-base: network.js: add Protocol.deleteConfiguration() callback
authorJo-Philipp Wich <jo@mein.io>
Tue, 3 Mar 2020 20:12:44 +0000 (21:12 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 3 Mar 2020 20:22:44 +0000 (21:22 +0100)
commita22aba2fed7b95f241b70c215e23e5699a3ff9d9
treebf6260278f81c2fcfbdae996b97374f5b7b805cb
parentca558f4f93451de7afb2a85c017051cb807b3329
luci-base: network.js: add Protocol.deleteConfiguration() callback

Add a new Protocol.deleteConfiguration() callback function which can be
overridden by protocol handler to perform additional cleanup tasks, such
as unsetting related uci entries which are not part of the interface
configuration itself.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/network.js