backoffice: open ctrl-click on rows in new tabs (#42408)

This commit is contained in:
Frédéric Péters 2020-05-03 11:13:31 +02:00
parent c12d171f26
commit 04cdbc48ac
1 changed files with 1 additions and 1 deletions

View File

@ -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;