mirror of https://github.com/apache/archiva.git
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:
parent
02145dd848
commit
e3a794ca9f
|
@ -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",
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue