// Check every 20 seconds via status.php if maintenance is over window.setInterval(checkStatus, 20000); function checkStatus() { var request = new XMLHttpRequest(); request.open("GET", OC.webroot+'/status.php', true); request.onreadystatechange = function() { if (request.readyState === 4) { var response = request.responseText; var responseobj = JSON.parse(response); if (responseobj.maintenance === false) { window.location.reload(); } } }; request.send(); } cgit logo index : jquery-ui.git
The official jQuery user interface library: https://github.com/jquery/jquery-uiwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/ui/i18n/datepicker-id.js
blob: 0db693fafc86ad79043f4b114c433d109ba83f03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37