luci-mod-admin-full: add hint on backup restore
[project/luci.git] / modules / luci-mod-admin-full / luasrc / view / admin_system / clock_status.htm
index 19be072..37d8ae0 100644 (file)
@@ -17,8 +17,8 @@
                btn.disabled = true;
                btn.value    = '<%:Synchronizing...%>';
 
-               XHR.get('<%=url('admin/system/clock_status')%>',
-                       { set: Math.floor((new Date()).getTime() / 1000) },
+               (new XHR()).post('<%=url('admin/system/clock_status')%>',
+                       { token: '<%=token%>', set: Math.floor((new Date()).getTime() / 1000) },
                        function()
                        {
                                btn.disabled = false;