diff options
author | Andrew Nikitin <andrey.b.nikitin@gmail.com> | 2015-10-24 23:29:16 +0500 |
---|---|---|
committer | Andrew Nikitin <andrey.b.nikitin@gmail.com> | 2015-10-24 23:29:16 +0500 |
commit | a75d28b2c102d42a8323e4ac10d17c49a22c3c99 (patch) | |
tree | 62ed3422e166d28606a21858a2fcc4a21e79ba6d /config/nut/ups_status.js | |
parent | 803374f514759fa795a9e21eb5b2610385ff7b95 (diff) | |
parent | 5757a6d0b3ae5da610c986776c622bd50f131c59 (diff) | |
download | pfsense-packages-a75d28b2c102d42a8323e4ac10d17c49a22c3c99.tar.gz pfsense-packages-a75d28b2c102d42a8323e4ac10d17c49a22c3c99.tar.bz2 pfsense-packages-a75d28b2c102d42a8323e4ac10d17c49a22c3c99.zip |
Merge pull request #1 from doktornotor/patch-5
nut package widget fixes
Diffstat (limited to 'config/nut/ups_status.js')
-rw-r--r-- | config/nut/ups_status.js | 14 |
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); } |