summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-04-18 13:06:21 -0400
committerjim-p <jimp@pfsense.org>2011-04-18 13:08:06 -0400
commite8503ff4b6c08ed2297d790ada92fb33f26b897e (patch)
tree82436c66813cf5ba395b66c8a743935bfa2a2248
parent5381b3413126c585d0e72f8b166cb94bdf927198 (diff)
downloadpfsense-e8503ff4b6c08ed2297d790ada92fb33f26b897e.zip
pfsense-e8503ff4b6c08ed2297d790ada92fb33f26b897e.tar.gz
Only start log update ajax timer if the updateDelay is defined. http://forum.pfsense.org/index.php/topic,35771.0.html
-rw-r--r--usr/local/www/javascript/filter_log.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/javascript/filter_log.js b/usr/local/www/javascript/filter_log.js
index d8cffd4..04a4d11 100644
--- a/usr/local/www/javascript/filter_log.js
+++ b/usr/local/www/javascript/filter_log.js
@@ -117,4 +117,6 @@ function toggle_pause() {
}
}
/* start local AJAX engine */
-timer = setInterval('fetch_new_rules()', updateDelay);
+if (typeof updateDelay != 'undefined') {
+ timer = setInterval('fetch_new_rules()', updateDelay);
+} \ No newline at end of file
OpenPOWER on IntegriCloud