Author: dain
Date: Sun Sep 23 22:15:14 2007
New Revision: 578657
URL: http://svn.apache.org/viewvc?rev=578657&view=rev
Log:
Added script declaration needed for card deck wiki markup
Modified:
openejb/trunk/website/src/vm/openejb_autoexport.vm
Modified: openejb/trunk/website/src/vm/openejb_autoexport.vm
URL:
http://svn.apache.org/viewvc/openejb/trunk/website/src/vm/openejb_autoexport.vm?rev=578657&r1=578656&r2=578657&view=diff
==============================================================================
--- openejb/trunk/website/src/vm/openejb_autoexport.vm (original)
+++ openejb/trunk/website/src/vm/openejb_autoexport.vm Sun Sep 23 22:15:14 2007
@@ -91,6 +91,26 @@
<script language="JavaScript" src="functions.js"
type="text/javascript"></script>
</head>
<body bgcolor="#ffffff" link="#6763a9" vlink="#6763a9" topmargin="0"
bottommargin="0" leftmargin="0" marginheight="0" marginwidth="0">
+
+<!-- Delay the loading of the external javascript file needed for labels (as
it takes too long to load and visibly holds loading of the page body) -->
+<!-- To do this without javascript errors over undefined functions, we need to
declare stubs here (that are overrided later by the proper implementations) -->
+<script language="JavaScript" type="text/javascript">
+ function doAddLabel(hideTextfieldAfterAddParam)
+ {
+ // stub
+ }
+
+ function onAddLabel()
+ {
+ // stub
+ }
+
+ function showLabelsInput()
+ {
+ // stub
+ }
+</script>
+
<a name="top"></a>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="400">
<tr>
@@ -282,5 +302,12 @@
<td width="120" height="25" valign="top" align="left"> </td>
</tr>
</table>
+
+<!-- Needed for composition plugin -->
+<!-- delay the loading of large javascript files to the end so that they don't
interfere with the loading of page content -->
+<span style="display: none">
+ <script type="text/javascript" language="JavaScript"
src="http://cwiki.apache.org/confluence/labels-javascript"></script>
+</span>
+
</body>
</html>