|
From: Benjamin C. <bc...@us...> - 2005-08-19 12:33:05
|
Update of /cvsroot/phpbt/phpbt/templates/default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14338/templates/default Modified Files: buglist.html Log Message: Fixes bug #1262359 - Removing bug row onclick to avoid navigating away from the bug list when ctrl-clicking Index: buglist.html =================================================================== RCS file: /cvsroot/phpbt/phpbt/templates/default/buglist.html,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- buglist.html 19 Jul 2005 20:12:31 -0000 1.12 +++ buglist.html 19 Aug 2005 12:32:56 -0000 1.13 @@ -1,8 +1,3 @@ -<script language='javascript'> - function viewbug(a,b) { - self.location.href='bug.php?op=show&bugid='+a+'&pos='+b; - } -</script> <table class="bordertable" align="center" style="width: 100%"> <tr> <?php for ($i = 0, $colcount = count($db_fields); $i < $colcount; $i++) { @@ -18,7 +13,7 @@ <?php if (USE_SEVERITY_COLOR) { ?> <tr class="bugrow" bgcolor="<?php echo $bugs[$i]['severity_color']; ?>" onclick="viewbug(<?php echo "{$bugs[$i]['bug_link_id']}, $i"; ?>)"> <?php } else { ?> - <tr class="bugrow<?php echo ($i % 2 != 0) ? ' alt' : ''; ?>" onclick="viewbug(<?php echo "{$bugs[$i]['bug_link_id']}, $i"; ?>)"> + <tr class="bugrow<?php echo ($i % 2 != 0) ? ' alt' : ''; ?>"> <?php } ?> <?php foreach ($bugs[$i] as $var => $val) { |