From: Jan Schneider Date: Mon, 30 Nov 2009 17:03:01 +0000 (+0100) Subject: Store ajax location in a separate field. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=09ffaab7fcf523d04f162ee41aef4c8475c85567;p=horde.git Store ajax location in a separate field. --- diff --git a/framework/Notification/lib/Horde/Notification/Listener/Status.php b/framework/Notification/lib/Horde/Notification/Listener/Status.php index f368487d6..301e67139 100644 --- a/framework/Notification/lib/Horde/Notification/Listener/Status.php +++ b/framework/Notification/lib/Horde/Notification/Listener/Status.php @@ -99,7 +99,9 @@ class Horde_Notification_Listener_Status extends Horde_Notification_Listener $text = $this->_getAlarm($flags['alarm']); } else { $result['alarm'] = $flags['alarm']; - if (!empty($result['alarm']['params']['notify']['show'])) { + if (!empty($result['alarm']['params']['notify']['ajax'])) { + $result['alarm']['ajax'] = $result['alarm']['params']['notify']['ajax']; + } elseif (!empty($result['alarm']['params']['notify']['show'])) { $result['alarm']['url'] = Horde::url($GLOBALS['registry']->linkByPackage($result['alarm']['params']['notify']['show']['__app'], 'show', $result['alarm']['params']['notify']['show']), true); } unset($result['alarm']['params']['notify'],