Commit e1a2dba274cafa6df476f335efefacbba2ca2916

Authored by Mukul Rajput
1 parent b3053ef7

this is the solution for loader for list manager system

400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js
... ... @@ -9434,6 +9434,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
9434 9434 }
9435 9435  
9436 9436 $rootScope.refreshTermListOnSystemSelection = function (bodysystemId) {
  9437 + $rootScope.isLoading = true;
  9438 + $('#spinner').css('visibility', 'visible');
9437 9439 $rootScope.selectedBodySystemId = bodysystemId;
9438 9440 $rootScope.selectedBodySystemName = $('#bodySystems option[id="' + bodysystemId + '"]').val();
9439 9441 $("#bodySystems").find("option").css({ "background-color": "#ffffff", "color": "#000000" });
... ... @@ -9457,7 +9459,8 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l
9457 9459 .where('_SystemNumber == ' + bodysystemId)
9458 9460 .select();
9459 9461 if (systemMatchedTermList != null || systemMatchedTermList != undefined) {
9460   -
  9462 + $rootScope.isLoading = false;
  9463 + $('#spinner').css('visibility', 'hidden');
9461 9464 $scope.refreshTerms(systemMatchedTermList);
9462 9465 }
9463 9466 },
... ...