X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fevents%2Fform.tpl;h=6f7aa840ae95b1b3b5a61a753331d9668a401469;hb=e86e920ff705fa80cc293df02be9e8e26a50884e;hp=a1e1dc5876f129124fa34fde3833aa2cba25949e;hpb=93d42b4fcc6f055a428c9b63e386ac62c918d08a;p=platal.git diff --git a/templates/events/form.tpl b/templates/events/form.tpl index a1e1dc5..6f7aa84 100644 --- a/templates/events/form.tpl +++ b/templates/events/form.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -57,12 +57,7 @@ document.getElementById('info').style.display = 'none'; } var page = 'events/preview?titre=' + encodeURIComponent(titre) + '&texte=' + encodeURIComponent(texte); - if (is_IE) { - {/literal} - page = "{$globals->baseurl}/" + page; - {literal} - } - Ajax.update_html('preview', page, null); + $('#preview').updateHtml(page); return false; } {/literal}