X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fadmin-mini%2Fluasrc%2Fview%2Fmini%2Freboot.htm;h=9bf2d43cf5e7243b3c3802403c9192a08e31e11c;hp=600da36fcb48951c73210138351f63324e9b7199;hb=c882d1f501ec61245d86f46f8d740a35e5faaa81;hpb=65cde96c5b05e04c24b0f272b577df67193d7c0b diff --git a/modules/admin-mini/luasrc/view/mini/reboot.htm b/modules/admin-mini/luasrc/view/mini/reboot.htm index 600da36fc..9bf2d43cf 100644 --- a/modules/admin-mini/luasrc/view/mini/reboot.htm +++ b/modules/admin-mini/luasrc/view/mini/reboot.htm @@ -17,7 +17,7 @@ $Id$

<%:reboot%>

<%:a_s_reboot1%>

<%- -local c = require("luci.model.uci").changes() +local c = require("luci.model.uci").cursor():changes() if c and next(c) then -%>

<%:a_s_reboot_u%>

@@ -25,9 +25,9 @@ if c and next(c) then end if not reboot then -%> -

<%:a_s_reboot_do%>

+

<%:a_s_reboot_do%>

<%- else -%>

<%:a_s_reboot_running%>

- + <%- end -%> <%+footer%> \ No newline at end of file