From d41fe8d5dd86d4bd66a283a885c9370e230dce9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Baz=C3=A1n?= Date: Thu, 29 Oct 2015 11:29:03 -0300 Subject: [PATCH] initial transaction message in history page --- public/views/walletHome.html | 4 ++++ src/js/controllers/index.js | 3 +++ 2 files changed, 7 insertions(+) diff --git a/public/views/walletHome.html b/public/views/walletHome.html index 5aa184a59..a6948e125 100644 --- a/public/views/walletHome.html +++ b/public/views/walletHome.html @@ -465,6 +465,10 @@
+

+ Initial transaction history synchronization can take some minutes for wallets with many transactions.
+ Please stand by. +

diff --git a/src/js/controllers/index.js b/src/js/controllers/index.js index 470a3ef85..f00b34a3e 100644 --- a/src/js/controllers/index.js +++ b/src/js/controllers/index.js @@ -762,6 +762,8 @@ angular.module('copayApp.controllers').controller('indexController', function($r $log.warn(ex); } + if (!localTxs) self.showWaitingSign = true; + return cb(null, self.removeSoftConfirmedTx(localTxs)); }); } @@ -831,6 +833,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r self.updateLocalTxHistory(function(err) { if (err) self.txHistoryError = true; self.updatingTxHistory = false; + self.showWaitingSign = false; $rootScope.$apply(); }); });