Fix preview on editing Posts.
This commit is contained in:
parent
a072558478
commit
68859ff045
2 changed files with 4 additions and 3 deletions
|
|
@ -22,6 +22,7 @@
|
|||
asset (automatic) that actually generates the feeds from them.
|
||||
- new: workflow activity and hooks for deleting exported files on trash,
|
||||
purge, and changeUrl
|
||||
- fix: editing posts loses changes in preview
|
||||
|
||||
7.1.4
|
||||
- Template variables in the main Survey Template were out of date in the
|
||||
|
|
|
|||
|
|
@ -1058,9 +1058,9 @@ sub www_edit {
|
|||
value=>$self->getValue("username")
|
||||
});
|
||||
$var{isEdit} = 1;
|
||||
$content = $self->getValue("content");
|
||||
$title = $self->getValue("title");
|
||||
$synopsis = $self->getValue("synopsis");
|
||||
$content = $self->session->form->process('content') || $self->getValue("content");
|
||||
$title = $self->session->form->process('title') || $self->getValue("title");
|
||||
$synopsis = $self->session->form->process('synopsis') || $self->getValue("synopsis");
|
||||
}
|
||||
$var{'archive.form'} = WebGUI::Form::yesNo($self->session, {
|
||||
name=>"archive"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue