james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r1078307 - in /james/server/trunk/src/site: resources/scripts/ resources/scripts/tab_function.js xdoc/index.xml
Date Sat, 05 Mar 2011 16:10:13 GMT
Author: felixk
Date: Sat Mar  5 16:10:13 2011
New Revision: 1078307

URL: http://svn.apache.org/viewvc?rev=1078307&view=rev
Log:
Extract inline script to file. Inline scripts may lead to unexpected results when being parsed
and rendered as xhtml.

Added:
    james/server/trunk/src/site/resources/scripts/
    james/server/trunk/src/site/resources/scripts/tab_function.js   (with props)
Modified:
    james/server/trunk/src/site/xdoc/index.xml

Added: james/server/trunk/src/site/resources/scripts/tab_function.js
URL: http://svn.apache.org/viewvc/james/server/trunk/src/site/resources/scripts/tab_function.js?rev=1078307&view=auto
==============================================================================
--- james/server/trunk/src/site/resources/scripts/tab_function.js (added)
+++ james/server/trunk/src/site/resources/scripts/tab_function.js Sat Mar  5 16:10:13 2011
@@ -0,0 +1,3 @@
+$(function(){
+  $('#tabs').tabs();
+});

Propchange: james/server/trunk/src/site/resources/scripts/tab_function.js
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/server/trunk/src/site/resources/scripts/tab_function.js
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: james/server/trunk/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/src/site/xdoc/index.xml?rev=1078307&r1=1078306&r2=1078307&view=diff
==============================================================================
--- james/server/trunk/src/site/xdoc/index.xml (original)
+++ james/server/trunk/src/site/xdoc/index.xml Sat Mar  5 16:10:13 2011
@@ -25,13 +25,7 @@
 
   <head>
   
-    <script type="text/javascript">
-
-      $(function(){
-        $('#tabs').tabs();
-      });
-      
-    </script>
+    <script type="text/javascript" src="./scripts/tab_function.js" />
     
   </head>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message