diff options
Diffstat (limited to 'share/www/script')
-rw-r--r-- | share/www/script/couch_test_runner.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/share/www/script/couch_test_runner.js b/share/www/script/couch_test_runner.js index ae0dc573..c396cd16 100644 --- a/share/www/script/couch_test_runner.js +++ b/share/www/script/couch_test_runner.js @@ -109,8 +109,7 @@ function runTest(button, callback, debug) { function showSource(cell) { var name = $(cell).text(); var win = window.open("", name, "width=700,height=500,resizable=yes,scrollbars=yes"); - win.document.title = name; - $("<pre></pre>").text(couchTests[name].toString()).appendTo(win.document.body).fadeIn(); + win.document.location = "script/test/" + name + ".js"; } function updateTestsListing() { @@ -187,4 +186,4 @@ function repr(val) { } else { return JSON.stringify(val); } -}
\ No newline at end of file +} |