Setting nudge XHR response to utf-8 and indenting

darcs-hash:20081211212046-efd22-5face1c2bfaf0dd43dc7ffcc4eec639fdb4b5fe5.gz
This commit is contained in:
Sarven Capadisli 2008-12-11 16:20:46 -05:00
parent 8dd513a8e4
commit d3f0a9eeee

View File

@ -56,7 +56,7 @@ class NudgeAction extends Action {
$this->notify($user, $other);
if ($this->boolean('ajax')) {
common_start_html('text/xml');
common_start_html('text/xml;charset=utf-8', true);
common_element_start('head');
common_element('title', null, _('Nudge sent'));
common_element_end('head');