Open labels and reports in a new window (#3602)

This commit is contained in:
Oliver 2022-08-24 15:37:51 +10:00 committed by GitHub
parent 69c3e5e222
commit 978d18d01b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -44,7 +44,7 @@ function printLabels(url, plugin=null) {
} }
}); });
} else { } else {
window.location.href = url; window.open(url);
} }
} }

View File

@ -152,7 +152,7 @@ function printTestReports(items) {
href += `item=${item}&`; href += `item=${item}&`;
}); });
window.location.href = href; window.open(href);
} }
} }
); );
@ -205,7 +205,7 @@ function printBuildReports(builds) {
href += `build=${build}&`; href += `build=${build}&`;
}); });
window.location.href = href; window.open(href);
} }
} }
); );
@ -259,7 +259,7 @@ function printBomReports(parts) {
href += `part=${part}&`; href += `part=${part}&`;
}); });
window.location.href = href; window.open(href);
} }
} }
); );
@ -313,7 +313,7 @@ function printPurchaseOrderReports(orders) {
href += `order=${order}&`; href += `order=${order}&`;
}); });
window.location.href = href; window.open(href);
} }
} }
); );
@ -367,7 +367,7 @@ function printSalesOrderReports(orders) {
href += `order=${order}&`; href += `order=${order}&`;
}); });
window.location.href = href; window.open(href);
} }
} }
); );