From 9325d8d636f380314440e93d82404f0964f84614 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 8 Jun 2011 09:14:17 +0000 Subject: [PATCH] using jQuery's text method, as innerText does not work in FF and standard textContent fails in IE --- notifications/inc/class.notifications_ajax.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notifications/inc/class.notifications_ajax.inc.php b/notifications/inc/class.notifications_ajax.inc.php index d0d5e1c0d2..5e27fbfbac 100644 --- a/notifications/inc/class.notifications_ajax.inc.php +++ b/notifications/inc/class.notifications_ajax.inc.php @@ -117,7 +117,7 @@ class notifications_ajax { if ($GLOBALS['egw_info']['user']['apps']['admin'] && $GLOBALS['egw_info']['user']['preferences']['common']['show_currentusers']) { - $this->response->assign('currentusers', 'innerText', $GLOBALS['egw']->session->session_count()); + $this->response->jquery('#currentusers', 'text', array((string)$GLOBALS['egw']->session->session_count())); } $this->get_egwpopup();