From e1a2dba274cafa6df476f335efefacbba2ca2916 Mon Sep 17 00:00:00 2001 From: Mukul Date: Thu, 25 Jan 2018 15:13:02 +0530 Subject: [PATCH] this is the solution for loader for list manager system --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 43c8e6a..72956a9 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -9434,6 +9434,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l } $rootScope.refreshTermListOnSystemSelection = function (bodysystemId) { + $rootScope.isLoading = true; + $('#spinner').css('visibility', 'visible'); $rootScope.selectedBodySystemId = bodysystemId; $rootScope.selectedBodySystemName = $('#bodySystems option[id="' + bodysystemId + '"]').val(); $("#bodySystems").find("option").css({ "background-color": "#ffffff", "color": "#000000" }); @@ -9457,7 +9459,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l .where('_SystemNumber == ' + bodysystemId) .select(); if (systemMatchedTermList != null || systemMatchedTermList != undefined) { - + $rootScope.isLoading = false; + $('#spinner').css('visibility', 'hidden'); $scope.refreshTerms(systemMatchedTermList); } }, -- libgit2 0.21.4