diff --git a/src/js/controllers/main.js b/src/js/controllers/main.js index cd9931e6..0b81441f 100644 --- a/src/js/controllers/main.js +++ b/src/js/controllers/main.js @@ -203,7 +203,10 @@ if (item) { return $scope.apiMiddleware.download(item); } - return $scope.apiMiddleware.downloadMultiple($scope.temps); + $scope.modal('loader'); + return $scope.apiMiddleware.downloadMultiple($scope.temps).then(function(){ + $scope.modal('loader', true); + }); }; $scope.copy = function() { diff --git a/src/templates/modals.html b/src/templates/modals.html index 95852ecf..cae36cf2 100644 --- a/src/templates/modals.html +++ b/src/templates/modals.html @@ -1,3 +1,23 @@ +