]> source.dussan.org Git - archiva.git/commitdiff
don't block the ui when scanning a repository
authorOlivier Lamy <olamy@apache.org>
Mon, 27 Feb 2012 09:27:41 +0000 (09:27 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 27 Feb 2012 09:27:41 +0000 (09:27 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1294074 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/repositories.js

index 6289a8d233196c5cbb6840dfdb357692b5c87c1d..eef6aa51b4dd209ee86dce0e607fc696dcac7e19 100644 (file)
@@ -79,7 +79,7 @@ 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)
 managed.repository.bulk.save.confirm.title=Network Proxy Bulk Save
-
+managedrepository.scan.started=Scan Started for Managed Repository {0}
 
 # remote repositories screen
 remoterepository.downloadremoteindex.now=Download Remote Index Now
index 83e96ca6b22ad33a194e6ebe22a8ea6969c2d906..531aa7305e737143a303da2f39524f6de2f15ffb 100644 (file)
@@ -318,7 +318,8 @@ $(function() {
               {
                 type: "GET",
                   beforeSend:function(){
-                    displayInfoMessage($.i18n.prop("managedrepository.scan.started"));
+                    displayInfoMessage($.i18n.prop("managedrepository.scan.started",managedRepository.id()));
+                    closeDialogConfirm();
                   },
                   success: function(data) {
                     displaySuccessMessage($.i18n.prop("managedrepository.scanned",managedRepository.name()));