js: also look for clickable row target in data-url attribute (#64844)
This commit is contained in:
parent
3ed2236293
commit
dea0b0552d
|
@ -505,7 +505,7 @@ var gadjo_js = gadjo_js || {};
|
|||
if (window.getSelection().toString()) {
|
||||
return false;
|
||||
}
|
||||
var href = $(this).find('a[href]').prop('href');
|
||||
var href = $(this).data('url') || $(this).find('a[href]').prop('href');
|
||||
if (href) {
|
||||
if (event.which == 2 || event.ctrlKey) {
|
||||
window.open(href, '_blank');
|
||||
|
|
Loading…
Reference in New Issue