From 4bdfe031921ef0d7e4047d80be42db24012fcd61 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 22 Nov 2012 20:27:41 +0000 Subject: [PATCH] clear user-messages on logout git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1412657 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-webapp-js/src/main/webapp/js/archiva/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(){ -- 2.39.5