From d53d2ce9196c54bc115343d12b8ab80e2fcf669f Mon Sep 17 00:00:00 2001 From: amrita.vishnoi Date: Fri, 15 Sep 2017 16:30:20 +0530 Subject: [PATCH] against Merge Request #661 request --- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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); }; -- libgit2 0.21.4