diff options
author | franck cuny <franck@lumberjaph.net> | 2010-09-25 20:08:32 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2010-09-25 20:08:32 +0200 |
commit | a359d74279322e22cc49f1639dc38dd3f268561f (patch) | |
tree | cc1be48f36646f7d17560688d23c9f0cdc316823 /views | |
parent | more css cleanup (diff) | |
download | jitterbug-a359d74279322e22cc49f1639dc38dd3f268561f.tar.gz |
toggle tests's result
Diffstat (limited to '')
-rw-r--r-- | views/layouts/main.tt | 2 | ||||
-rw-r--r-- | views/project/index.tt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/views/layouts/main.tt b/views/layouts/main.tt index cf3f0e0..80f6b64 100644 --- a/views/layouts/main.tt +++ b/views/layouts/main.tt @@ -12,7 +12,7 @@ var id = $(this).parents('.commit').attr('id'); console.log("id => " + id); $.getJSON(url, null, function(data) { - $("#result-" + id).html("<pre>" + data.content + "<pre>"); + $("#result-" + id).html("<pre>" + data.content + "<pre>").toggle(); }); return false; })}) diff --git a/views/project/index.tt b/views/project/index.tt index 5ec18dc..c2970d6 100644 --- a/views/project/index.tt +++ b/views/project/index.tt @@ -25,7 +25,7 @@ commit <a href="<: $build.url :>"><: $build.commit :></a><br /> </div> </div> - <div class="display_test_result" id="result-<: $build.commit :>"> + <div class="display_test_result" style="display: none" id="result-<: $build.commit :>"> </div> :} </div> |