From 8da0280da65d5027752fe4c93ec356ec671bb7d2 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Mon, 25 Aug 2014 10:44:20 -0300 Subject: [PATCH] show loading/spinner when getting last transactions --- js/controllers/transactions.js | 2 +- views/transactions.html | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/js/controllers/transactions.js b/js/controllers/transactions.js index a8fb8f7d8..a35553965 100644 --- a/js/controllers/transactions.js +++ b/js/controllers/transactions.js @@ -15,7 +15,7 @@ angular.module('copayApp.controllers').controller('TransactionsController', var satToUnit = 1 / config.unitToSatoshi; $scope.update = function() { - $scope.loading = false; + $scope.loading = true; var from = ($scope.txpCurrentPage - 1) * $scope.txpItemsPerPage; var opts = { pending: false, diff --git a/views/transactions.html b/views/transactions.html index 020ea96f9..f91565fbe 100644 --- a/views/transactions.html +++ b/views/transactions.html @@ -19,8 +19,10 @@