mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Merge branch 'dillon/34.8-jenkins-vapor' into vapor/production
This commit is contained in:
@@ -41,7 +41,9 @@
|
||||
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');
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -127,7 +127,6 @@ export default {
|
||||
if(window.LARAVEL_VAPOR_ENABLED){
|
||||
if (response.src) {
|
||||
// window.location.href = response.src;
|
||||
console.log('download');
|
||||
window.open(response.src, '_blank');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,7 +81,9 @@
|
||||
response.json().then(response => {
|
||||
if(!success){return;}
|
||||
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