From 03ceaf457b379c6e1f931fe399cece1be304342a Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 12 Jan 2012 14:51:55 +0000 Subject: [PATCH] clear userMessages before write an other one git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1230572 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-webapp-js/src/main/webapp/js/redback/user.js | 1 + 1 file changed, 1 insertion(+) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/user.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/user.js index bea075bec..7465707db 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/user.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/user.js @@ -205,6 +205,7 @@ $(function() { this.updateAssignedRoles=function(){ $.log("user#updateAssignedRoles"); var curUser = this; + clearUserMessages(); $.ajax("restServices/redbackServices/roleManagementService/updateUserRoles", { data: "{\"user\": " + ko.toJSON(this)+"}", contentType: 'application/json', -- 2.39.5