summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Hesketh <josh@nitrotech.org>2014-08-20 16:14:53 +1000
committerJoshua Hesketh <josh@nitrotech.org>2014-08-20 16:14:53 +1000
commit6f94dd1d9162f05687e14b64e0916ef62a7460f2 (patch)
tree729f185b4b860e7e4569eac2c3e506f3689f45d6
parent2de0c2a37a8d52a09d1375e374deeec52fea38bf (diff)
downloadzuul-6f94dd1d9162f05687e14b64e0916ef62a7460f2.tar.gz
Fix zuul javascript cookie load
The default filter value for the status page was not being set correctly. As such the filter would incorrectly remove all results. When no cookie is set, make sure the filter is blank. Change-Id: I4868db8b357373d1fd94dc6ffc7528692b75dd8d
-rw-r--r--etc/status/public_html/jquery.zuul.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/status/public_html/jquery.zuul.js b/etc/status/public_html/jquery.zuul.js
index 01f8bd35f..3085b2601 100644
--- a/etc/status/public_html/jquery.zuul.js
+++ b/etc/status/public_html/jquery.zuul.js
@@ -50,7 +50,7 @@
}, options);
var collapsed_exceptions = [];
- var current_filter = read_cookie('zuul_filter_string', current_filter);
+ var current_filter = read_cookie('zuul_filter_string', '');
var $jq;
var xhr,