Return-Path: X-Original-To: apmail-archiva-commits-archive@www.apache.org Delivered-To: apmail-archiva-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 851DA98D2 for ; Thu, 15 Mar 2012 22:58:29 +0000 (UTC) Received: (qmail 67445 invoked by uid 500); 15 Mar 2012 22:58:29 -0000 Delivered-To: apmail-archiva-commits-archive@archiva.apache.org Received: (qmail 67411 invoked by uid 500); 15 Mar 2012 22:58:29 -0000 Mailing-List: contact commits-help@archiva.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@archiva.apache.org Delivered-To: mailing list commits@archiva.apache.org Received: (qmail 67404 invoked by uid 99); 15 Mar 2012 22:58:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2012 22:58:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Mar 2012 22:58:28 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 5B0E52388A56 for ; Thu, 15 Mar 2012 22:58:08 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1301261 - /archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/user.js Date: Thu, 15 Mar 2012 22:58:08 -0000 To: commits@archiva.apache.org From: olamy@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120315225808.5B0E52388A56@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: olamy Date: Thu Mar 15 22:58:07 2012 New Revision: 1301261 URL: http://svn.apache.org/viewvc?rev=1301261&view=rev Log: reset modified field when user has been modified Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/user.js Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/user.js URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/user.js?rev=1301261&r1=1301260&r2=1301261&view=diff ============================================================================== --- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/user.js (original) +++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/user.js Thu Mar 15 22:58:07 2012 @@ -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);