mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-07 21:05:18 +02:00
Temporary: mainDetail: Don't trap clickable links, only rowselect loads detail
refs #4663
This commit is contained in:
parent
5d0eaa5cd3
commit
e9292199e7
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user