diff options
Diffstat (limited to 'applications/luci-app-radicale/luasrc')
-rw-r--r-- | applications/luci-app-radicale/luasrc/view/radicale/btn_startstop.htm | 4 | ||||
-rw-r--r-- | applications/luci-app-radicale/luasrc/view/radicale/tabmap_nsections.htm | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-app-radicale/luasrc/view/radicale/btn_startstop.htm b/applications/luci-app-radicale/luasrc/view/radicale/btn_startstop.htm index 48c2a84252..3a472401d6 100644 --- a/applications/luci-app-radicale/luasrc/view/radicale/btn_startstop.htm +++ b/applications/luci-app-radicale/luasrc/view/radicale/btn_startstop.htm @@ -1,6 +1,6 @@ <!-- ++ BEGIN ++ Radicale ++ btn_startstop.htm ++ --> -<script type="text/javascript">//<![CDATA[ +<script> // show XHR.poll/XHR.get response on button function _data2elements(x) { @@ -30,7 +30,7 @@ function(x, data) { _data2elements(x); } ); -//]]></script> +</script> <%+cbi/valueheader%> diff --git a/applications/luci-app-radicale/luasrc/view/radicale/tabmap_nsections.htm b/applications/luci-app-radicale/luasrc/view/radicale/tabmap_nsections.htm index 1ad8f0061e..bf8f1fafa8 100644 --- a/applications/luci-app-radicale/luasrc/view/radicale/tabmap_nsections.htm +++ b/applications/luci-app-radicale/luasrc/view/radicale/tabmap_nsections.htm @@ -13,7 +13,7 @@ <%+cbi/apply_widget%> <% cbi_apply_widget() %> <div class="alert-message" id="cbi_apply_status" style="display:none"></div> - <script type="text/javascript"> + <script> document.addEventListener("DOMContentLoaded", function() { <% if confirmmap then -%> uci_confirm(true, Date.now() + <%=confirmmap%> * 1000); |