backoffice: open ctrl-click on rows in new tabs (#42408)
This commit is contained in:
parent
c12d171f26
commit
04cdbc48ac
|
@ -25,7 +25,7 @@ function prepare_row_links() {
|
|||
if (data_link.indexOf('http://') == -1 && data_link.indexOf('https://') == -1) {
|
||||
data_link = window.location.pathname + data_link;
|
||||
}
|
||||
if (event.which == 2) {
|
||||
if (event.which == 2 || event.ctrlKey) {
|
||||
window.open(data_link, '_blank');
|
||||
} else {
|
||||
window.location = data_link;
|
||||
|
|
Loading…
Reference in New Issue