diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 9fdf8eb..6682454 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -2993,6 +2993,24 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l } } + + $timeout(function () { + + // alert($("#termList option").prop('selected', true).val()); + // alert(document.getElementById("typedTermName").value); + // alert($rootScope.searchSelectedText); + var termSelectedName = $rootScope.searchSelectedText; + if (termSelectedName == "Cardiovascular") { + termSelectedName = "Skin"; + } + if (document.getElementById("typedTermName").value == "Skin" || termSelectedName == "Skin") { + $rootScope.isLoading = false; + $('#spinner').css('visibility', 'hidden'); + $scope.EnableUI(); + } + }, 800); + + }, 100) } @@ -9132,6 +9150,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $scope.DisableUI(); $rootScope.searchSelectedText = $("#" + actualTermNumber).text(); + $rootScope.slectedActualTermNumber = actualTermNumber; if (isTermListOptionClicked == true) {