Correct bugs

This commit is contained in:
manzerbredes 2016-03-02 17:41:04 +01:00
parent b6d7d2c30e
commit fa5a48bc3a
4 changed files with 17 additions and 24 deletions

View file

@ -16,10 +16,11 @@ mainApp.controller('loginCtrl', ['$scope','$sce','Identity', function ($scope,$s
// Manager logout event
$scope.$on('logoutEvent', function(){
Identity.logout();
$('#loginModal').modal({backdrop: 'static', keyboard: false});
});
// Hide loading button and message alert
$('#loadingLoginButton').hide();
$('#failedToLoginAlert').hide();