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 754BE901C for ; Mon, 13 Feb 2012 09:00:19 +0000 (UTC) Received: (qmail 99822 invoked by uid 500); 13 Feb 2012 09:00:19 -0000 Delivered-To: apmail-archiva-commits-archive@archiva.apache.org Received: (qmail 98910 invoked by uid 500); 13 Feb 2012 09:00:14 -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 97680 invoked by uid 99); 13 Feb 2012 09:00:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2012 09:00:13 +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; Mon, 13 Feb 2012 09:00:11 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id CEAC723888FE for ; Mon, 13 Feb 2012 08:59:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1243444 - in /archiva/trunk/archiva-modules/archiva-web: archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties archiva-webapp-js/src/main/webapp/js/redback/roles.js Date: Mon, 13 Feb 2012 08:59:51 -0000 To: commits@archiva.apache.org From: olamy@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120213085951.CEAC723888FE@eris.apache.org> Author: olamy Date: Mon Feb 13 08:59:51 2012 New Revision: 1243444 URL: http://svn.apache.org/viewvc?rev=1243444&view=rev Log: role screen bulk add confirm dialog before saving all Modified: archiva/trunk/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js Modified: archiva/trunk/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties?rev=1243444&r1=1243443&r2=1243444&view=diff ============================================================================== --- archiva/trunk/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties (original) +++ archiva/trunk/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties Mon Feb 13 08:59:51 2012 @@ -148,3 +148,7 @@ proxy-connectors.remoterepo.settings.net proxy.connector.bulk.save.confirm=Are you sure to update {0} Proxy Connector(s) proxyconnector.delete.confirm=Are you sure to delete the Proxy Connector + +#roles +role.bulk.save.confirm=Are you sure to update {0} Role(s) + Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js?rev=1243444&r1=1243443&r2=1243444&view=diff ============================================================================== --- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js (original) +++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/redback/roles.js Mon Feb 13 08:59:51 2012 @@ -164,19 +164,32 @@ $(function() { } updateModifiedRoles=function(){ + + var modifiedRoles = getModifiedRoles(); $.log("modifiedRoles:"+modifiedRoles); - for(i=0;i