diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index d8cc549..40c3f43 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -130,6 +130,10 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic else { if (result.loginId != undefined || result.loginId != "" || result.loginId != null) { + if ($("#messageModal").length > 0){ + + $("#messageModal").modal('hide'); + } $rootScope.userData = result; $rootScope.userModules = result.modules; $rootScope.isVisibleLogin = false; @@ -144,6 +148,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic else $rootScope.haveRoleAdmin = true; } + } } },