fix order when there are errors on funnel

This commit is contained in:
Matias Alejo Garcia 2014-12-06 19:16:50 -03:00
commit c8c82b3cb5
3 changed files with 30 additions and 26 deletions

View file

@ -6,7 +6,7 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
$scope.init = function() {
identityService.goWalletHome();
$scope.isMobile = isMobile.any();
$scope.isMobile = 1; //isMobile.any();
$scope.createStep = 'storage';
$scope.useLocalstorage = false;
@ -111,6 +111,7 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
var msg = err.toString();
if (msg.indexOf('EEXIST') >= 0 || msg.indexOf('BADC') >= 0) {
msg = 'This profile already exists'
$scope.createStep = 'email';
}
$scope.error = msg;
} else {