From 946eee42568918903bb357d5cfea57fbe40c4f6e Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Tue, 16 Dec 2008 02:18:18 -0500 Subject: Direct message XHR response fix for IE and minor tweaks darcs-hash:20081216071818-efd22-d2e59bb60a236538452be356f38d0974f35f0107.gz --- actions/newmessage.php | 2 +- actions/newnotice.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'actions') diff --git a/actions/newmessage.php b/actions/newmessage.php index 67695210e..da48fc7e7 100644 --- a/actions/newmessage.php +++ b/actions/newmessage.php @@ -122,7 +122,7 @@ class NewmessageAction extends Action { array($this, 'show_top')); if ($msg) { - common_element('p', 'error', $msg); + common_element('p', array('id'=>'error'), $msg); } common_show_footer(); diff --git a/actions/newnotice.php b/actions/newnotice.php index 142478341..42b48923f 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -116,7 +116,7 @@ class NewnoticeAction extends Action { common_element('title', null, _('Ajax Error')); common_element_end('head'); common_element_start('body'); - common_element('p', array('class' => 'error'), $msg); + common_element('p', array('id' => 'error'), $msg); common_element_end('body'); common_element_end('html'); } @@ -141,7 +141,7 @@ class NewnoticeAction extends Action { common_show_header(_('New notice'), NULL, $content, array($this, 'show_top')); if ($msg) { - common_element('p', 'error', $msg); + common_element('p', array('id' => 'error'), $msg); } common_show_footer(); } -- cgit v1.2.3-54-g00ecf