Adapts Xorg MLs and aliases handling to new mail chain.
[platal.git] / templates / events / form.tpl
index a1e1dc5..6f7aa84 100644 (file)
@@ -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  *}
       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}