Skip to content

Commit

Permalink
fix draft recovering
Browse files Browse the repository at this point in the history
The actual draft text got lost when we changed to showing the diff
instead of the full draft.
  • Loading branch information
splitbrain committed May 2, 2018
1 parent a3965d0 commit 1362c8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/html.php
Expand Up @@ -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'));
Expand Down

0 comments on commit 1362c8a

Please sign in to comment.