luci/modules/luci-base/htdocs/luci-static
Jo-Philipp Wich 49c6a810e9 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>
2020-04-26 18:45:58 +02:00
..
resources luci-base: uci.js: fix section deletion logic 2020-04-26 18:45:58 +02:00