ajax.php
changeset 734 904fbf10f112
parent 714 2f1706c4231f
child 800 9cdfe82c56cd
--- a/ajax.php	Mon Sep 29 08:24:26 2008 -0400
+++ b/ajax.php	Sun Nov 09 14:22:03 2008 -0500
@@ -469,6 +469,7 @@
       break;
     case "preview":
       require_once(ENANO_ROOT.'/includes/pageutils.php');
+      $template->init_vars();
       echo PageUtils::genPreview($_POST['text']);
       break;
     case "pagediff":