summaryrefslogtreecommitdiff
path: root/classes/Channel.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2008-12-16 02:18:18 -0500
committerSarven Capadisli <csarven@controlyourself.ca>2008-12-16 02:18:18 -0500
commit946eee42568918903bb357d5cfea57fbe40c4f6e (patch)
tree414a946473c79c72fccc302646321dc39fd387c1 /classes/Channel.php
parentc0977dfa1b03a65d420c2de75cfc72b1694b4b44 (diff)
Direct message XHR response fix for IE and minor tweaks
darcs-hash:20081216071818-efd22-d2e59bb60a236538452be356f38d0974f35f0107.gz
Diffstat (limited to 'classes/Channel.php')
-rw-r--r--classes/Channel.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/classes/Channel.php b/classes/Channel.php
index 34735c450..bcc0c36b5 100644
--- a/classes/Channel.php
+++ b/classes/Channel.php
@@ -124,23 +124,23 @@ class WebChannel extends Channel {
class AjaxWebChannel extends WebChannel {
function output($user, $text) {
- common_start_html('text/xml;charset=utf-8', false);
+ common_start_html('text/xml;charset=utf-8', true);
common_element_start('head');
common_element('title', null, _('Command results'));
common_element_end('head');
common_element_start('body');
- common_element('p', array('class' => 'command_results'), $text);
+ common_element('p', array('id' => 'command_result'), $text);
common_element_end('body');
common_element_end('html');
}
function error($user, $text) {
- common_start_html('text/xml;charset=utf-8', false);
+ common_start_html('text/xml;charset=utf-8', true);
common_element_start('head');
common_element('title', null, _('Ajax Error'));
common_element_end('head');
common_element_start('body');
- common_element('p', array('class' => 'error'), $text);
+ common_element('p', array('id' => 'error'), $text);
common_element_end('body');
common_element_end('html');
}