From 4effa511d49090087754152a9b8c82a31164c0d2 Mon Sep 17 00:00:00 2001 From: Bechi Date: Mon, 7 Jul 2014 10:34:53 -0300 Subject: [PATCH] fix import layout --- index.html | 38 +++++++++++++++++--------------------- js/controllers/import.js | 7 ++----- 2 files changed, 19 insertions(+), 26 deletions(-) diff --git a/index.html b/index.html index fd4e2e66b..214c46be5 100644 --- a/index.html +++ b/index.html @@ -163,13 +163,13 @@ v{{version}} [TESTNET] -
- - Copay Project Homapage - -
+
+ + Copay Project Homapage + +
@@ -288,29 +288,25 @@ {{ importStatus }}
-

{{title}}

-
+
+

{{title}}

- Select which method want to use to restore - - - - + Choose backup file from your computer +
-
- - -
-
-
-
- Go back +
+ +
-
+
+
+
+
+ Go back diff --git a/js/controllers/import.js b/js/controllers/import.js index c8f16c857..fbb264143 100644 --- a/js/controllers/import.js +++ b/js/controllers/import.js @@ -75,10 +75,9 @@ angular.module('copayApp.controllers').controller('ImportController', } var backupFile = $scope.file; - var backupText = form.backupText.$modelValue; var password = form.password.$modelValue; - if (!backupFile && !backupText) { + if (!backupFile) { $scope.loading = false; notification.error('Error', 'Please, select your backup file or paste the file contents'); $scope.loading = false; @@ -87,8 +86,6 @@ angular.module('copayApp.controllers').controller('ImportController', if (backupFile) { reader.readAsBinaryString(backupFile); - } else { - _importBackup(backupText); - } + } }; });