ajax.php
changeset 714 2f1706c4231f
parent 685 17ebe24cdf85
child 800 9cdfe82c56cd
--- a/ajax.php	Mon Sep 29 08:25:59 2008 -0400
+++ b/ajax.php	Mon Sep 29 08:26:21 2008 -0400
@@ -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":