From b0b32963daf0ea7dadeed23adc2e56526c384c0b Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 2 Apr 2012 12:38:59 +0000 Subject: [PATCH] correctly display spinner when loading legacy artifact paths git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308323 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/webapp/js/archiva/general-admin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js index a66073d5c..1ee371fff 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/general-admin.js @@ -241,13 +241,13 @@ define("archiva.general-admin",["jquery","i18n","order!utils","order!jquery.tmpl displayLegacyArtifactPathSupport=function(){ clearUserMessages(); var mainContent=$("#main-content"); - - mainContent.html($("#legacy-artifact-path-main").tmpl()); + mainContent.html(mediumSpinnerImg()); $.ajax("restServices/archivaServices/archivaAdministrationService/getLegacyArtifactPaths", { type: "GET", dataType: 'json', success: function(data){ + mainContent.html($("#legacy-artifact-path-main").tmpl()); var legacyArtifactPathsViewModel=new LegacyArtifactPathsViewModel(); var legacyPaths=mapLegacyArtifactPaths(data); $.log("legacyPaths:"+legacyPaths.length); -- 2.39.5