From: x2003bruneau Date: Wed, 18 Apr 2007 21:25:18 +0000 (+0000) Subject: Ajax fixes for opera (again !!!) X-Git-Tag: xorg/0.9.14~73 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=97587b43f4c4fe985191c145187bd42f9d97f89d;p=platal.git Ajax fixes for opera (again !!!) htdocs/javascript/ajax.js | 2 +- templates/skin/common.header.tpl | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@1717 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/htdocs/javascript/ajax.js b/htdocs/javascript/ajax.js index 84a10ad..8912dd6 100644 --- a/htdocs/javascript/ajax.js +++ b/htdocs/javascript/ajax.js @@ -127,7 +127,7 @@ function previewWiki(idFrom, idTo, withTitle, idShow) if (text == "") { return false; } - var url = "wiki_preview"; + var url = platal_baseurl + "wiki_preview"; if (!withTitle) { url += "/notitle"; } diff --git a/templates/skin/common.header.tpl b/templates/skin/common.header.tpl index df3498e..803d1a6 100644 --- a/templates/skin/common.header.tpl +++ b/templates/skin/common.header.tpl @@ -47,6 +47,9 @@ {/foreach} + {foreach from=$xorg_js item=js} {/foreach}