clear user-messages on logout

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1412657 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-11-22 20:27:41 +00:00
parent a18362e7f4
commit 4bdfe03192
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ function(jquery,ui,sammy,tmpl,i18n,jqueryCookie,bootstrap,archivaSearch,jqueryVa
// cleanup karmas
window.redbackModel.operatioNames=[];
hideElementWithKarma();
$("#main-content").html("");
$("#main-content").empty();
$("#user-messages" ).empty();
$.ajax({
url: 'restServices/redbackServices/loginService/logout',
complete: function(){