]> source.dussan.org Git - archiva.git/commitdiff
clear userMessages before write an other one
authorOlivier Lamy <olamy@apache.org>
Thu, 12 Jan 2012 14:51:55 +0000 (14:51 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 12 Jan 2012 14:51:55 +0000 (14:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1230572 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/user.js

index bea075bec87e152bf886a47ffdd6cfa8b754a24e..7465707dbb3b1facde346f3035c05522949d27e6 100644 (file)
@@ -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',