From: Olivier Lamy Date: Thu, 22 Nov 2012 20:27:41 +0000 (+0000) Subject: clear user-messages on logout X-Git-Tag: archiva-1.4-M4~608 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4bdfe031921ef0d7e4047d80be42db24012fcd61;p=archiva.git clear user-messages on logout git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1412657 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js index 0c53e6fda..b201776ff 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/main.js @@ -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(){