Merge pull request #4596 from JDonadio/fix/import-error

Fix error message
This commit is contained in:
Gustavo Maximiliano Cortez 2016-07-15 13:46:13 -03:00 committed by GitHub
commit fa39cee3b6
2 changed files with 4 additions and 2 deletions

View File

@ -21,10 +21,10 @@
<div ng-show="type == '12' ">
<div class="row">
<div class="row" ng-click="importErr = error = null">
<div class="large-12 columns">
<div class="box-notification m20b" ng-show="importErr">
<div ng-show="importErr" class="text-warning">
<div class="text-warning">
<div class="m10 text-bold" translate>Could not access the wallet at the server. Please check:</div>
<ul class="size-12">
<li translate>The password of the recovery phrase (if set)</li>

View File

@ -34,6 +34,8 @@ angular.module('copayApp.controllers').controller('importController',
};
$scope.processWalletInfo = function(code) {
if (!code) return;
$scope.dataFromQR = null;
$scope.importErr = false;
$scope.error = null;