From 38bc3000f449cb628912d83240b470b28471e671 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 15 Mar 2012 22:58:07 +0000 Subject: [PATCH] reset modified field when user has been modified git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301261 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-webapp-js/src/main/webapp/js/redback/user.js | 3 +++ 1 file changed, 3 insertions(+) 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 29e60f2a3..b6398d431 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 @@ -229,6 +229,7 @@ $(function() { type: "GET", success: function(result) { displaySuccessMessage($.i18n.prop("user.locked",curUser.username())); + curUser.modified(false); }, error: function(result) { var obj = jQuery.parseJSON(result.responseText); @@ -245,6 +246,7 @@ $(function() { type: "GET", success: function(result) { displaySuccessMessage($.i18n.prop("user.unlocked",curUser.username())); + curUser.modified(false); }, error: function(result) { var obj = jQuery.parseJSON(result.responseText); @@ -265,6 +267,7 @@ $(function() { type: "GET", success: function(result) { displaySuccessMessage($.i18n.prop("user.passwordChangeRequired.updated",curUser.username(),value)); + curUser.modified(false); }, error: function(result) { var obj = jQuery.parseJSON(result.responseText); -- 2.39.5