From: Olivier Lamy Date: Mon, 6 Feb 2012 09:14:10 +0000 (+0000) Subject: cleanup name and open a dialog confirm for managed repositories bulk save X-Git-Tag: archiva-1.4-M3~1354 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cc220a26fd7012c7e37ad7fd548d3ade09285e92;p=archiva.git cleanup name and open a dialog confirm for managed repositories bulk save git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240941 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties index 99a798a7d..2a29838a5 100644 --- a/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties +++ b/archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties @@ -77,6 +77,7 @@ releases=Releases stageRepoNeeded=Staging Repository cronExpression.notvalid=Cron Expression not valid managedrepository.updated=Managed Repository {0} updated. +managed.repository.bulk.save.confirm=Are you sure to update {0} Managed Repository(ies) # remote repositories screen diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/network-proxies.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/network-proxies.js index 988e6ebe8..6c12f773d 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/network-proxies.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/network-proxies.js @@ -145,11 +145,9 @@ $(function() { }); return prx; } - updateModifiedManagedRepositories=function(){ - } - updateModifiedNetworkProxy=function(){ + updateModifiedNetworkProxies=function(){ var modifiedNetworkProxies = getModifiedNetworkProxies(); openDialogConfirm(function(){ diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js index 19d30d19e..b906848e1 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js @@ -396,9 +396,17 @@ $(function() { } updateModifiedManagedRepositories=function(){ var repos = getModifiedManagedRepositories(); - for (i=0;i {{if bulkSave()}} - + {{/if}} \ No newline at end of file