Fixing chrome issue pusher callback

This commit is contained in:
James Barnsley
2018-12-08 11:59:32 +13:00
parent 078add0929
commit 291b1ed39e
8 changed files with 10320 additions and 13593 deletions

View File

@ -293,12 +293,12 @@ const PusherMiddleware = (function(){
.then(
response => {
if (action.response_callback){
store.dispatch(action.response_callback.call(this, response));
action.response_callback.call(this, response);
}
},
error => {
if (action.error_callback){
store.dispatch(action.error_callback.call(this, error));
action.error_callback.call(this, error);
} else {
store.dispatch(coreActions.handleException(
'Pusher request failed',