Changeset 378 for trunk/nagios-velvice/velvice.cgi
- Timestamp:
- Nov 4, 2018, 8:08:17 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nagios-velvice/velvice.cgi
r377 r378 17 17 use strict; 18 18 use warnings; 19 use version; our $VERSION = version->declare('0.10. 5');19 use version; our $VERSION = version->declare('0.10.6'); 20 20 21 21 use CGI; … … 202 202 if (req.status == 200) { 203 203 document.getElementById('master-body').innerHTML = req.responseXML.getElementById('master-body').innerHTML; 204 console.log("Update Page at 204 console.log("Update Page at", datenow.toLocaleTimeString()); 205 205 206 206 refresh_next = req.responseXML.getElementById('master-body').getAttribute("refresh"); … … 212 212 clearInterval(refresh_interval); 213 213 refresh_interval = setInterval(refresh, refresh_sec * 1000); 214 console.log("Update at ", datenow.toLocaleTimeString(), " Refresh Interval:", refresh_sec);214 console.log("Update at", datenow.toLocaleTimeString(), "Refresh Interval:", refresh_sec); 215 215 document.getElementById('master-body').setAttribute("refresh", refresh_sec); 216 216 } … … 227 227 // Set the refresh() function to run every 900 seconds. 1 second would be 1000 228 228 refresh_interval = setInterval(refresh, refresh_sec * 1000); 229 console.log("Start Refresh Interval: 229 console.log("Start Refresh Interval:", refresh_sec); 230 230 } 231 231 </script>
Note: See TracChangeset
for help on using the changeset viewer.