From c8c82b3cb5b9be1f85f8839c349397a153a86edf Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Sat, 6 Dec 2014 19:16:50 -0300 Subject: [PATCH] fix order when there are errors on funnel --- js/controllers/createProfile.js | 3 +- js/util/crypto.js | 2 +- views/createProfile.html | 51 +++++++++++++++++---------------- 3 files changed, 30 insertions(+), 26 deletions(-) diff --git a/js/controllers/createProfile.js b/js/controllers/createProfile.js index 26d63ed38..b54f78c44 100644 --- a/js/controllers/createProfile.js +++ b/js/controllers/createProfile.js @@ -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 { diff --git a/js/util/crypto.js b/js/util/crypto.js index 72679f18f..88c821363 100644 --- a/js/util/crypto.js +++ b/js/util/crypto.js @@ -76,7 +76,7 @@ module.exports = { try { return sjcl.decrypt(key, sjclEncryptedJson); } catch (e) { - log.info('Decryption failed due to error: ' + e.message); + log.debug('Decryption failed due to error: ' + e.message); return null; } } diff --git a/views/createProfile.html b/views/createProfile.html index b0c285d31..8c1bef967 100644 --- a/views/createProfile.html +++ b/views/createProfile.html @@ -23,9 +23,34 @@
Copay -
+ +
+ clipo +
+ +
+
+ clipo +
+
+ clipo +
+

Creating in the cloud

+

Creating on this device

+
+ +
+
+ clipo +
+ +

Creating on this device

+

Creating in the cloud

+
{{userOrEmail}}
+
+
@@ -37,10 +62,7 @@
-
- clipo -
- + In the Cloud
@@ -106,16 +128,6 @@
-
- clipo -
-
- clipo -
- -

Creating in the cloud

-

Creating on this device

-
@@ -154,15 +166,6 @@
-
- clipo -
- -

Creating on this device

-

Creating in the cloud

-
{{userOrEmail}}
- -