aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-10-24 20:05:52 +0200
committerdoktornotor <notordoktor@gmail.com>2015-10-24 20:05:52 +0200
commit4466e845cc1d875732df4074b002c2400c8f17e4 (patch)
treea0cdc476acd8c0ab3da5269c76bcd0e685036a80 /config
parent702a4f03f29de31b3ff0c29e021e9a938f360a18 (diff)
downloadpfsense-packages-4466e845cc1d875732df4074b002c2400c8f17e4.tar.gz
pfsense-packages-4466e845cc1d875732df4074b002c2400c8f17e4.tar.bz2
pfsense-packages-4466e845cc1d875732df4074b002c2400c8f17e4.zip
Fix file header and whitespace
Diffstat (limited to 'config')
-rw-r--r--config/nut/ups_status.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/config/nut/ups_status.js b/config/nut/ups_status.js
index 98a27a9e..4c64498f 100644
--- a/config/nut/ups_status.js
+++ b/config/nut/ups_status.js
@@ -1,10 +1,9 @@
/*
- $Id: ups_status.js
-
- File location:
- \usr\local\www\widgets\javascript\
- Used by:
- \usr\local\www\widgets\widgets\ups_status.widget.php
+ ups_status.js
+ part of pfSense (https://www.pfSense.org/)
+ Copyright (C) 2015 SunStroke <andrey.b.nikitin@gmail.com>
+ Copyright (C) 2015 ESF, LLC
+ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
@@ -27,7 +26,6 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
-
//should be called from "ups_status.widget.php"
function showUPSData() {
@@ -46,7 +44,7 @@ function showUPSData() {
updateUPSWidgetContent("Error getting data from [ups_status.widget.php]");
}
});
-
+
//call itself in 11 seconds
window.setTimeout(showUPSData, 11000);
}