From 18015c300ef6b30451ec83986b5958273d350ff2 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Wed, 18 Feb 2015 19:34:11 -0300 Subject: [PATCH] Fix pagination of history --- js/controllers/history.js | 2 ++ views/history.html | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/js/controllers/history.js b/js/controllers/history.js index e546ab3cf..f6effad96 100644 --- a/js/controllers/history.js +++ b/js/controllers/history.js @@ -18,6 +18,7 @@ angular.module('copayApp.controllers').controller('HistoryController', $scope.alternativeCurrency = []; $scope.selectPage = function(page) { + $scope.paging = true; $scope.currentPage = page; $scope.update(); }; @@ -188,6 +189,7 @@ angular.module('copayApp.controllers').controller('HistoryController', $scope.totalItems = res.nbItems; $scope.loading = false; + $scope.paging = false; setTimeout(function() { $scope.$digest(); }, 1); diff --git a/views/history.html b/views/history.html index daecbf5c4..a466d23e4 100644 --- a/views/history.html +++ b/views/history.html @@ -11,7 +11,14 @@ -
+
+
+
+ Getting transactions... +
+
+
+