Commit d53d2ce9196c54bc115343d12b8ab80e2fcf669f
1 parent
0f5aa9a7
against Merge Request #661 request
Showing
1 changed file
with
6 additions
and
3 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -3447,13 +3447,16 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
3447 | 3447 | $rootScope.UpdateAndCloseSetting = function (setting) { |
3448 | 3448 | // debugger; |
3449 | 3449 | $rootScope.UpdateSetting(setting); |
3450 | - $rootScope.loadSearchData(); | |
3451 | - | |
3450 | + if ($rootScope.MenuModuleName == "DA" || $rootScope.MenuModuleName == "AA") { | |
3451 | + $rootScope.loadSearchData(); | |
3452 | + } | |
3452 | 3453 | //$timeout(function () { |
3453 | 3454 | $('#modal-settings').css("display", "none"); |
3454 | 3455 | $("#modelsettingsbackground").css("display", "none"); |
3455 | 3456 | // $("#setting-spinner").css("display", "none"); |
3456 | - $("#setting-spinner").css("display", "block"); | |
3457 | + if ($rootScope.MenuModuleName == "DA" || $rootScope.MenuModuleName == "AA") { | |
3458 | + $("#setting-spinner").css("display", "block"); | |
3459 | + } | |
3457 | 3460 | |
3458 | 3461 | // }, 6000); |
3459 | 3462 | }; | ... | ... |