forked from lix-project/hydra
fix annoying behaviour in webkit browsers when middle-clicking (open in new tab) on a build, it used to open the build both in new tab as current tab
This commit is contained in:
parent
43198e9353
commit
2db4462735
|
@ -97,7 +97,7 @@
|
|||
[% ELSE -%]
|
||||
[% IF odd %] odd [% END; odd = !odd -%]
|
||||
[% END %]"
|
||||
onclick="window.location = '[% c.uri_for('/build' build.id) %]'">
|
||||
onclick="if(event.which == 2) return true ; window.location = '[% c.uri_for('/build' build.id) %]'">
|
||||
[% IF !hideResultInfo %]
|
||||
<td>
|
||||
[% INCLUDE renderBuildStatusIcon size=16 %]
|
||||
|
|
Loading…
Reference in a new issue