From 839d14be4e098d9587f975db08666de384bb31e6 Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Mon, 26 Sep 2016 17:47:02 -0300 Subject: [PATCH] Code change to match Sencha Cmd compiler --- app/ux/Auth0.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/ux/Auth0.js b/app/ux/Auth0.js index e1c12b9b..92c44b83 100644 --- a/app/ux/Auth0.js +++ b/app/ux/Auth0.js @@ -140,10 +140,10 @@ Ext.define('Rambox.ux.Auth0', { localStorage.setItem('id_token', authResult.idToken); } }); - }).catch(function(error) { + })['catch'](function(error) { Ext.Msg.hide(); Ext.Msg.show({ - title: 'Firebug Error' + title: 'Firebase Error' ,message: error.message+'

Code: '+error.code+'

Sorry, try again later.' ,icon: Ext.Msg.ERROR ,buttons: Ext.Msg.OK