summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dcwapd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-26 18:41:19 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-26 18:45:58 +0200
commit49c6a810e9a705217f4543099d8188f0f3158f6c (patch)
tree6c81ba24e8ee5948ba50ad55a255d512204f7787 /applications/luci-app-dcwapd
parentbaa3bd4aac64984dfbecf8e524cfb31ed485a916 (diff)
luci-base: uci.js: fix section deletion logic
- Process deletions before additions or changes, allowing user code to remove and recreate a section with the same name. - Only record section deletions when the section to be removed actually existed in the original config or when it was staged for creation earlier. This avoids stray ubus not found exception when saving. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-dcwapd')
0 files changed, 0 insertions, 0 deletions