From 168aa89c8e7f64242b2029d69d6e077120cbf23d Mon Sep 17 00:00:00 2001 From: nikita Date: Thu, 15 Sep 2016 11:53:08 +0530 Subject: [PATCH] After list manager load removed the wait cursor. --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 5 +++-- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index bef9a33..120b023 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -7321,13 +7321,14 @@ function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Mo for (var j = 0; j < $scope.VocabTermTxt.length; j++) { var $el = $('').appendTo('#termList') $compile($el)($scope); - $rootScope.isLoading = false; - $('#spinner').css('visibility', 'hidden'); + } var termsTotal = '' + $scope.VocabTermTxt.length + ' Structures'; $("#totalTerms").empty(); $('#totalTerms').append(termsTotal); + $rootScope.isLoading = false; + $('#spinner').css('visibility', 'hidden'); } } diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 1c3529f..ce5db44 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -441,6 +441,10 @@ AIA.controller("HomeController", ["$rootScope", "Modules", "$log", "$location", //$rootScope.isListManagerSelected = false; $('#listManager').css('display', 'none'); $("#listManager").css("visibility", "hidden"); + + $rootScope.isLoading = false; + $('#spinner').css('visibility', 'hidden'); + $('#spinner').css('display', 'none'); // $rootScope.isAnnotationWindowClose = true; // if('#termList') if ($('#termList option').length > 0) { -- libgit2 0.21.4