Commit 2e6bc8fd5587ba0dafb9e838a1920b43db228b92

Authored by Amrita Vishnoi
1 parent 40c3ba91

removed message box if logged in id is null

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... ... @@ -130,6 +130,10 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
130 130 else {
131 131 if (result.loginId != undefined || result.loginId != "" || result.loginId != null) {
132 132  
  133 + if ($("#messageModal").length > 0){
  134 +
  135 + $("#messageModal").modal('hide');
  136 + }
133 137 $rootScope.userData = result;
134 138 $rootScope.userModules = result.modules;
135 139 $rootScope.isVisibleLogin = false;
... ... @@ -144,6 +148,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
144 148 else
145 149 $rootScope.haveRoleAdmin = true;
146 150 }
  151 +
147 152 }
148 153 }
149 154 },
... ...