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
This commit is contained in:
Joshua Hesketh
2014-08-20 16:14:53 +10:00
parent 2de0c2a37a
commit 6f94dd1d91

View File

@@ -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,