diff options
author | jim-p <jimp@pfsense.org> | 2013-12-05 15:04:20 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-12-05 15:09:08 -0500 |
commit | 5c43e7bdb6adb5c6128c252534e6a4b96b1fa771 (patch) | |
tree | fecf158548b8eb6bd0cf2f3c6f411700742fd3f4 /usr/local | |
parent | f2dd61a76450322a94dc519a85cef56e66d7ae29 (diff) | |
download | pfsense-5c43e7bdb6adb5c6128c252534e6a4b96b1fa771.zip pfsense-5c43e7bdb6adb5c6128c252534e6a4b96b1fa771.tar.gz |
Also account for a widget being null/not defined, and not just closed/open.
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/javascript/index/ajax.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/javascript/index/ajax.js b/usr/local/www/javascript/index/ajax.js index 73bd208..2fc6ab6 100644 --- a/usr/local/www/javascript/index/ajax.js +++ b/usr/local/www/javascript/index/ajax.js @@ -173,7 +173,7 @@ function updateInterfaces(x){ function widgetActive(x) { var widget = jQuery('#' + x + '-container'); - if ((widget != null) && (widget.css('display') != "none")) + if ((widget != null) && (widget.css('display') != null) && (widget.css('display') != "none")) return true; else return false; |