diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/docs.js b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/docs.js index 4ee4c0052..6acdf1205 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/docs.js +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/docs.js @@ -25,7 +25,7 @@ define("archiva.docs",["jquery","i18n","jquery.tmpl","bootstrap"], function() { } goToArchivaRestDoc=function(target){ - $("#main-content" ).html(mediumSpinnerImg()); + $("#main-content" ).find("#rest_docs_content" ).html(mediumSpinnerImg()); $.ajax({ url:"rest-docs/rest-docs-archiva-rest-api/"+target, type:"get", @@ -39,7 +39,7 @@ define("archiva.docs",["jquery","i18n","jquery.tmpl","bootstrap"], function() { } goToArchivaRestUiDoc=function(target){ - $("#main-content" ).html(mediumSpinnerImg()); + $("#main-content" ).find("#rest_docs_content" ).html(mediumSpinnerImg()); $.ajax({ url:"rest-docs/rest-docs-archiva-ui/"+target, type:"get", @@ -53,7 +53,7 @@ define("archiva.docs",["jquery","i18n","jquery.tmpl","bootstrap"], function() { } goToRedbackRestDoc=function(target){ - $("#main-content" ).html(mediumSpinnerImg()); + $("#main-content" ).find("#rest_docs_content" ).html(mediumSpinnerImg()); $.ajax({ url:"rest-docs/rest-docs-redback-rest-api/"+target, type:"get", diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/docs.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/docs.html index 13a7fd856..f33d0bfde 100644 --- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/docs.html +++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/docs.html @@ -18,7 +18,7 @@ -->