diff options
author | Florian Eckert <fe@dev.tdt.de> | 2019-01-15 15:07:27 +0100 |
---|---|---|
committer | Florian Eckert <fe@dev.tdt.de> | 2019-03-29 09:27:04 +0100 |
commit | b347bd14620b810e981734c798702ab47774c9db (patch) | |
tree | 5535b728bce34ae098aca0ac98917499c2045a4e /modules/luci-mod-network/root/etc/uci-defaults | |
parent | 8e3e502c45f5bdb8e1eb52c5a03c5fdbec9809df (diff) |
luci-base: add cbi tsection error msg option
In some situation it is usefull to inform the use that this section
could not get delete, because this config is referenced or is in use.
Example pseudo code:
function s.remove(self, sid)
<check if secation could get deleted>
if output == nil then
self.error_msg = translatef("Unable to remove this section")
return nil
end
end
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'modules/luci-mod-network/root/etc/uci-defaults')
0 files changed, 0 insertions, 0 deletions