Temporary: mainDetail: Don't trap clickable links, only rowselect loads detail

refs #4663
This commit is contained in:
Eric Lippmann 2013-10-02 13:25:09 +02:00
parent 5d0eaa5cd3
commit e9292199e7

View File

@ -122,11 +122,12 @@ function(Container, $, logger, URI) {
domContext = domContext || contentNode;
$('tbody tr', domContext).on('click', function(ev) {
var targetEl = ev.target || ev.toElement || ev.relatedTarget;
var targetEl = ev.target || ev.toElement || ev.relatedTarget,
a = $(targetEl).closest('a');
if (targetEl.nodeName.toLowerCase() === "a") {
if (a.length) {
// test if the URL is on the current server, if not open it directly
if(Container.isExternalLink($(targetEl).attr('href'))) {
if (true || Container.isExternalLink(a.attr('href'))) {
return true;
}
}