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:
parent
a3965d035f
commit
1362c8af98
|
@ -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'));
|
||||
|
|
Loading…
Reference in New Issue