From b7eccc60d91f1a719b3204da92d4becb2928210e Mon Sep 17 00:00:00 2001
From: Adrian Lang <lang@cosmocode.de>
Date: Wed, 24 Mar 2010 11:26:16 +0100
Subject: [PATCH] Keep edit target information for preview

---
 inc/html.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/inc/html.php b/inc/html.php
index 088f8d3c5..a8761ad4a 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1188,6 +1188,7 @@ function html_edit(){
         echo p_locale_xhtml($data['intro_locale']);
     }
 
+    $form->addHidden('target', $data['target']);
     $form->addElement(form_makeOpenTag('div', array('id'=>'wiki__editbar')));
     $form->addElement(form_makeOpenTag('div', array('id'=>'size__ctl')));
     $form->addElement(form_makeCloseTag('div'));
-- 
GitLab