js: also look for clickable row target in data-url attribute (#64844)
This commit is contained in:
parent
abb2903bb6
commit
fdab8a9b6a
|
@ -492,7 +492,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