Permalink
Browse files

Open tests in a new window/tab

  • Loading branch information...
1 parent 026478d commit 7db2919a34b71a0467c0734a213ccddd391e66f2 @lsmith lsmith committed Nov 8, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 tests/index.php
  2. +1 −1 tests/js/status.js
View
@@ -37,7 +37,7 @@
<h2>Widgets</h2>
<div id="widgets"></div>
- <a href="host.php?caja_base=<?php echo $caja_base; ?>&test=basic_gadget">Run basic test</a>
+ <a target="_blank" href="host.php?caja_base=<?php echo $caja_base; ?>&test=basic_gadget">Run basic test</a>
</div>
<script src="../../yui2/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script src="../../yui2/build/element/element-min.js"></script>
View
@@ -51,7 +51,7 @@ function notes_button(cell, rec, col, data) {
}
function format_detail_links(_,uri,label) {
- return '<a href="' + (
+ return '<a target="_blank" href="' + (
uri.charAt(0) === '#' ?
('http://code.google.com/p/google-caja/issues/detail?id=' + uri.slice(1)) :
(YAHOO.caja.host + 'test=' + uri)) + '">' + label + '</a>';

0 comments on commit 7db2919

Please sign in to comment.