diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 96404cb..4406e5c 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -3447,13 +3447,16 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $rootScope.UpdateAndCloseSetting = function (setting) { // debugger; $rootScope.UpdateSetting(setting); - $rootScope.loadSearchData(); - + if ($rootScope.MenuModuleName == "DA" || $rootScope.MenuModuleName == "AA") { + $rootScope.loadSearchData(); + } //$timeout(function () { $('#modal-settings').css("display", "none"); $("#modelsettingsbackground").css("display", "none"); // $("#setting-spinner").css("display", "none"); - $("#setting-spinner").css("display", "block"); + if ($rootScope.MenuModuleName == "DA" || $rootScope.MenuModuleName == "AA") { + $("#setting-spinner").css("display", "block"); + } // }, 6000); };