From: Jo-Philipp Wich Date: Thu, 31 May 2018 13:34:32 +0000 (+0200) Subject: luci-base: add full page overlay during apply X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5427395649f8145053922ebc0df9882fc145e88e;p=oweals%2Fluci.git luci-base: add full page overlay during apply After applying uci configuration, a full map reload is required in many cases as the anonymous section identifiers might have been rehashed, causing the rendered map to go out of sync. To avoid that, add both a full page overlay preventing further page interaction and let the apply widget forcibly reload the current view once the operation is complete. Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-base/luasrc/view/cbi/apply_widget.htm b/modules/luci-base/luasrc/view/cbi/apply_widget.htm index 543ef0b80..702512f49 100644 --- a/modules/luci-base/luasrc/view/cbi/apply_widget.htm +++ b/modules/luci-base/luasrc/view/cbi/apply_widget.htm @@ -1,59 +1,98 @@ <% export("cbi_apply_widget", function(redirect_ok) -%> - +