Stopped links in grid triggering detail view in chrome.

Fixed grid header in FF.
pull/4/head
Mark McDowall 13 years ago
parent aba44fb121
commit b9d227d162

@ -296,7 +296,7 @@ button span, input[type="button"] span, input[type="submit"] span, input[type="r
border-width: 300; border-width: 300;
font-size: 17px; font-size: 17px;
padding: 2px; padding: 2px;
border-style: inset; border-style: none;
border-color: #EEEEEE; border-color: #EEEEEE;
padding-left: 7px; padding-left: 7px;
text-align: left; text-align: left;
@ -322,6 +322,7 @@ button span, input[type="button"] span, input[type="submit"] span, input[type="r
{ {
background: #f0f5ff; background: #f0f5ff;
} }
.seriesTable tr:nth-child(4n+1) .seriesTable tr:nth-child(4n+1)
{ {
background: #f0f5ff; background: #f0f5ff;

@ -1,8 +1,9 @@
/* Click on row, show details */ /* Click on row, show details */
$('.seriesTable a').live('click', function () { $('.seriesTable a').live('click', function (event) {
event.preventDefault();
var link = $(this).attr('href'); var link = $(this).attr('href');
window.location = link; window.location = link;
event.preventDefault(); event.stopPropegation();
}); });
$('.seriesTable tr td:not(:last-child)').live('click', function () { $('.seriesTable tr td:not(:last-child)').live('click', function () {

Loading…
Cancel
Save