summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-09-25 20:08:32 +0200
committerfranck cuny <franck@lumberjaph.net>2010-09-25 20:08:32 +0200
commita359d74279322e22cc49f1639dc38dd3f268561f (patch)
treecc1be48f36646f7d17560688d23c9f0cdc316823 /views
parentmore css cleanup (diff)
downloadjitterbug-a359d74279322e22cc49f1639dc38dd3f268561f.tar.gz
toggle tests's result
Diffstat (limited to 'views')
-rw-r--r--views/layouts/main.tt2
-rw-r--r--views/project/index.tt2
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&nbsp;&nbsp;<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>