From 5427395649f8145053922ebc0df9882fc145e88e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 31 May 2018 15:34:32 +0200 Subject: [PATCH] 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 --- .../luasrc/view/cbi/apply_widget.htm | 148 +++++++++++------- 1 file changed, 90 insertions(+), 58 deletions(-) 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) -%> - +