diff --git a/modules/traces/client/controllers/traces.client.controller.js b/modules/traces/client/controllers/traces.client.controller.js index 35974c18..220637e5 100644 --- a/modules/traces/client/controllers/traces.client.controller.js +++ b/modules/traces/client/controllers/traces.client.controller.js @@ -18,7 +18,6 @@ * pagination init */ vm.buildPager = function () { - vm.resultMsg = 'TRACES_IS_LOADING'; vm.pagedItems = []; vm.itemsPerPage = vm.itemsPerPageConfig.tracesPerPage; vm.currentPage = 1; @@ -30,6 +29,7 @@ * @param callback */ vm.figureOutItemsToDisplay = function (callback) { + vm.resultMsg = 'TRACES_IS_LOADING'; vm.getTraces(vm.currentPage, function (items) { vm.filterLength = items.total; vm.pagedItems = items.rows; diff --git a/modules/vip/client/controllers/vip.client.controller.js b/modules/vip/client/controllers/vip.client.controller.js index 8c26172e..18f88bc9 100644 --- a/modules/vip/client/controllers/vip.client.controller.js +++ b/modules/vip/client/controllers/vip.client.controller.js @@ -41,7 +41,6 @@ vm.itemsPerPage = vm.itemsPerPageConfig.torrentsPerPage; vm.currentPage = 1; - vm.tooltipMsg = 'VIP.VIP_TORRENTS_IS_LOADING'; vm.figureOutItemsToDisplay(); }; @@ -50,6 +49,7 @@ * @param callback */ vm.figureOutItemsToDisplay = function (callback) { + vm.tooltipMsg = 'VIP.VIP_TORRENTS_IS_LOADING'; vm.getVIPTorrents(vm.currentPage, function (items) { vm.filterLength = items.total; vm.pagedItems = items.rows;