let actions set a default address for toselector
This commit is contained in:
parent
dca5e20b91
commit
ec5a43bf4f
@ -657,7 +657,8 @@ class Action extends HTMLOutputter // lawsuit
|
||||
|
||||
if (Event::handle('StartMakeEntryForm', array($tag, $this, &$form))) {
|
||||
if ($tag == 'status') {
|
||||
$form = new NoticeForm($this);
|
||||
$options = $this->noticeFormOptions();
|
||||
$form = new NoticeForm($this, $options);
|
||||
}
|
||||
Event::handle('EndMakeEntryForm', array($tag, $this, $form));
|
||||
}
|
||||
@ -673,6 +674,11 @@ class Action extends HTMLOutputter // lawsuit
|
||||
$this->elementEnd('div');
|
||||
}
|
||||
|
||||
function noticeFormOptions()
|
||||
{
|
||||
return array();
|
||||
}
|
||||
|
||||
/**
|
||||
* Show anonymous message.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user