Move the apply widget markup before the final </html> tag to avoid XHTML
errors with the OpenWrt theme.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit
350be23eb912bd1f3d1d2c09131d1ed03a27dcd0)
-%>
<%
- include("themes/" .. theme .. "/footer")
-
local is_rollback_pending, rollback_time_remaining, rollback_session, rollback_token = luci.model.uci:rollback_pending()
if is_rollback_pending or trigger_apply or trigger_revert then
</script>
<%
end
+
+ include("themes/" .. theme .. "/footer")
%>