using jQuery's text method, as innerText does not work in FF and standard textContent fails in IE

This commit is contained in:
Ralf Becker 2011-06-08 09:14:17 +00:00
parent e9d33a174d
commit 9325d8d636

View File

@ -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();