diff options
author | jim-p <jimp@pfsense.org> | 2011-04-18 13:06:21 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-04-18 13:08:06 -0400 |
commit | e8503ff4b6c08ed2297d790ada92fb33f26b897e (patch) | |
tree | 82436c66813cf5ba395b66c8a743935bfa2a2248 | |
parent | 5381b3413126c585d0e72f8b166cb94bdf927198 (diff) | |
download | pfsense-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.js | 4 |
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 |