clear userMessages before write an other one

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1230572 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-01-12 14:51:55 +00:00
parent 173bb19544
commit 03ceaf457b

View 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',