do not reload all the screen

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1395090 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-10-06 15:12:09 +00:00
parent 02145dd848
commit e3a794ca9f
2 changed files with 4 additions and 4 deletions

View File

@ -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",

View File

@ -18,7 +18,7 @@
-->
<script id="rest_docs" type="text/html">
<div>
<div id="rest-doc-header">
<div class="page-header">
<div><b>${$.i18n.prop('docs.rest.header')}</b></div>
</div>