File tree 4 files changed +9
-6
lines changed
Customer/view/frontend/web/js/action
Paypal/view/frontend/web/js/view/payment/method-renderer/in-context
4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ define([
38
38
} ) ;
39
39
customerData . invalidate ( [ 'customer' ] ) ;
40
40
41
- if ( redirectUrl ) {
42
- window . location . href = redirectUrl ;
43
- } else if ( response . redirectUrl ) {
41
+ if ( response . redirectUrl ) {
44
42
window . location . href = response . redirectUrl ;
43
+ } else if ( redirectUrl ) {
44
+ window . location . href = redirectUrl ;
45
45
} else {
46
46
location . reload ( ) ;
47
47
}
Original file line number Diff line number Diff line change @@ -78,7 +78,9 @@ define(
78
78
$ ( 'body' ) . trigger ( 'processStop' ) ;
79
79
customerData . invalidate ( [ 'cart' ] ) ;
80
80
} ) ;
81
- } . bind ( this ) ) ;
81
+ } . bind ( this ) ) . fail ( function ( ) {
82
+ paypalExpressCheckout . checkout . closeFlow ( ) ;
83
+ } ) ;
82
84
}
83
85
}
84
86
}
Original file line number Diff line number Diff line change 14
14
>
15
15
<testsuite name =" Magento Unit Tests" >
16
16
<directory suffix =" Test.php" >../../../app/code/*/*/Test/Unit</directory >
17
- <directory suffix =" Test.php" >../../../dev/tools/*/*/Test/Unit</directory >
18
- <directory suffix =" Test.php" >../../../dev/tools/*/*/*/Test/Unit</directory >
19
17
<directory suffix =" Test.php" >../../../lib/internal/*/*/Test/Unit</directory >
20
18
<directory suffix =" Test.php" >../../../lib/internal/*/*/*/Test/Unit</directory >
21
19
<directory suffix =" Test.php" >../../../setup/src/*/*/Test/Unit</directory >
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ var themeOptions = {};
13
13
14
14
_ . each ( themes , function ( theme , name ) {
15
15
themeOptions [ name ] = {
16
+ 'options' : {
17
+ livereload : true
18
+ } ,
16
19
'files' : [
17
20
'<%= combo.autopath(\'' + name + '\', path.pub) %>/**/*.less'
18
21
] ,
You can’t perform that action at this time.
0 commit comments