| Index: milo/appengine/frontend/expectations/swarming.build-build-expired.html
|
| diff --git a/milo/appengine/frontend/expectations/swarming.build-build-expired.html b/milo/appengine/frontend/expectations/swarming.build-build-expired.html
|
| index 6b4cb9a6b734da0a04b0010cc929d81f3536d5e2..8867ac0a2a886eee6fdf9c2cffcca9885d7260d7 100644
|
| --- a/milo/appengine/frontend/expectations/swarming.build-build-expired.html
|
| +++ b/milo/appengine/frontend/expectations/swarming.build-build-expired.html
|
| @@ -131,24 +131,25 @@
|
| </div>
|
| <script language="javascript">
|
| $(document).ready(function() {
|
| - var check = function(checked) {
|
| - var things = $("#steps");
|
| - if (checked) {
|
| - $("#steps").removeClass("hide");
|
| - } else {
|
| - $("#steps").addClass("hide");
|
| - }
|
| - var numHidden = $(".verbosity-Hidden").length;
|
| - if (numHidden > 0) {
|
| - $("#numHidden").text("(" + numHidden + " hidden)");
|
| - } else {
|
| - $("#numHidden").text("");
|
| - }
|
| - };
|
|
|
| - check($("#showHidden").is(":checked"));
|
| - $("#showHidden").click(function(e) {
|
| - check($(this).is(":checked"));
|
| + var check = function(className) {
|
| + $("#steps").removeClass("all standard interesting").addClass(className)
|
| + }
|
| +
|
| + $("#showInteresting").click(function(e) {
|
| + check("interesting");
|
| + });
|
| + $("#showStandard").click(function(e) {
|
| + check("standard");
|
| + });
|
| + $("#showAll").click(function(e) {
|
| + check("all");
|
| + });
|
| +
|
| + $("input[name='hider']").each(function(){
|
| + if ($(this).prop("checked")) {
|
| + $(this).click();
|
| + }
|
| });
|
| });
|
| </script>
|
|
|