From: Olivier Lamy Date: Thu, 12 Jan 2012 14:51:55 +0000 (+0000) Subject: clear userMessages before write an other one X-Git-Tag: archiva-1.4-M3~1603 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=03ceaf457b379c6e1f931fe399cece1be304342a;p=archiva.git clear userMessages before write an other one git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1230572 13f79535-47bb-0310-9956-ffa450edef68 --- 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',