mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 12:33:56 +00:00
Laravel Vapor - Fix inconsistency of download triggers which suppose to open in a new tab instead of current
This commit is contained in:
@@ -126,7 +126,9 @@ export default {
|
||||
successHandler(response) {
|
||||
if(window.LARAVEL_VAPOR_ENABLED){
|
||||
if (response.src) {
|
||||
window.location.href = response.src;
|
||||
// window.location.href = response.src;
|
||||
console.log('download');
|
||||
window.open(response.src, '_blank');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user