r929 - xwiki/trunk/src/main/web/templates

C??dric Torcq torcq at users.forge.objectweb.org
Wed Jan 25 09:29:24 CET 2006


Author: torcq
Date: 2006-01-25 09:29:24 +0100 (Wed, 25 Jan 2006)
New Revision: 929

Modified:
   xwiki/trunk/src/main/web/templates/wysiwyg.vm
Log:


Modified: xwiki/trunk/src/main/web/templates/wysiwyg.vm
===================================================================
--- xwiki/trunk/src/main/web/templates/wysiwyg.vm	2006-01-18 21:17:54 UTC (rev 928)
+++ xwiki/trunk/src/main/web/templates/wysiwyg.vm	2006-01-25 08:29:24 UTC (rev 929)
@@ -16,8 +16,8 @@
 #else
 #set($colsclass = "hide-both")
 #end
-<script language="javascript" type="text/javascript" src="/xwiki/tiny_mce/tiny_mce.js"></script>
-<script language="javascript" type="text/javascript" src="/xwiki/wiki_editor/wiki_editor.js"></script>
+<script language="javascript" type="text/javascript" src="${request.contextPath}/tiny_mce/tiny_mce.js"></script>
+<script language="javascript" type="text/javascript" src="${request.contextPath}/wiki_editor/wiki_editor.js"></script>
 <script language="javascript" type="text/javascript">
 	wikiEditor.init({
 	    language: "en",
@@ -27,8 +27,8 @@
 		debug : false,
 		remove_linebreaks : false,
 		plugins: 'table, contextmenu, paste, searchreplace',
-		wiki_images_path : '/xwiki/bin/download/$doc.web/$doc.name/',
-        wiki_attach_path : '/xwiki/bin/view/$doc.web/$doc.name',
+		wiki_images_path : '${request.contextPath}/bin/download/$doc.web/$doc.name/',
+        	wiki_attach_path : '${request.contextPath}/bin/view/$doc.web/$doc.name',
         wiki_plugins: 'core,attachments'
 	});
 





More information about the Xwiki-notifications mailing list