trac #1160 fix dropdown xmloutput function for the selected attribute and fix newmessage auto-selected dropdown.
This commit is contained in:
parent
a476805dd9
commit
43888b5239
|
@ -201,7 +201,7 @@ class NewmessageAction extends Action
|
|||
|
||||
function showNoticeForm()
|
||||
{
|
||||
$message_form = new MessageForm($this, $this->to, $this->content);
|
||||
$message_form = new MessageForm($this, $this->other, $this->content);
|
||||
$message_form->show();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -255,7 +255,7 @@ class HTMLOutputter extends XMLOutputter
|
|||
foreach ($content as $value => $option) {
|
||||
if ($value == $selected) {
|
||||
$this->element('option', array('value' => $value,
|
||||
'selected' => $value),
|
||||
'selected' => 'selected'),
|
||||
$option);
|
||||
} else {
|
||||
$this->element('option', array('value' => $value), $option);
|
||||
|
|
Loading…
Reference in New Issue
Block a user