fix draft recovering

The actual draft text got lost when we changed to showing the diff
instead of the full draft.
This commit is contained in:
Andreas Gohr 2018-05-02 20:29:50 +02:00
parent a3965d035f
commit 1362c8af98
1 changed files with 1 additions and 0 deletions

View File

@ -315,6 +315,7 @@ function html_draft(){
$form = new Doku_Form(array('id' => 'dw__editform'));
$form->addHidden('id', $ID);
$form->addHidden('date', $draft['date']);
$form->addHidden('wikitext', $text);
$form->addElement(form_makeOpenTag('div', array('id'=>'draft__status')));
$form->addElement($lang['draftdate'].' '. dformat(filemtime($INFO['draft'])));
$form->addElement(form_makeCloseTag('div'));