diff --git a/etc/status/public_html/app.js b/etc/status/public_html/app.js index 22c1ed7ba1..2649090a35 100644 --- a/etc/status/public_html/app.js +++ b/etc/status/public_html/app.js @@ -442,17 +442,40 @@ return $form_group; }, - filter_form: function() { + expand_form_group: function() { + expand_by_default = ( + read_cookie('zuul_expand_by_default', false) === 'true'); + + $checkbox = $('') + .attr('type', 'checkbox') + .attr('id', 'expand_by_default') + .prop('checked', expand_by_default) + .change(zuul.handle_expand_by_default); + + $label = $('