archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1395090 - in /archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js: archiva/docs.js templates/archiva/docs.html
Date Sat, 06 Oct 2012 15:12:09 GMT
Author: olamy
Date: Sat Oct  6 15:12:09 2012
New Revision: 1395090

URL: http://svn.apache.org/viewvc?rev=1395090&view=rev
Log:
do not reload all the screen

Modified:
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/docs.js
    archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/docs.html

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/docs.js
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/docs.js?rev=1395090&r1=1395089&r2=1395090&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/docs.js
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/docs.js
Sat Oct  6 15:12:09 2012
@@ -25,7 +25,7 @@ define("archiva.docs",["jquery","i18n","
   }
 
   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","
   }
 
   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","
   }
 
   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",

Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/docs.html
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/docs.html?rev=1395090&r1=1395089&r2=1395090&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/docs.html
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/docs.html
Sat Oct  6 15:12:09 2012
@@ -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>



Mime
View raw message