Added ability for post content to be gotten from a template variable.
This commit is contained in:
parent
7fce9af117
commit
cb3e36b180
1 changed files with 1 additions and 0 deletions
|
|
@ -1209,6 +1209,7 @@ sub www_edit {
|
|||
value=>$content,
|
||||
richEditId=>$self->getThread->getParent->get("richEditor")
|
||||
});
|
||||
$var{'content.value'} = $content;
|
||||
$var{'form.submit'} = WebGUI::Form::submit($self->session, {
|
||||
extras=>"onclick=\"this.value='".$i18n->get(452)."'; this.form.func.value='editSave'; this.form.submit();return false;\""
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue