From: Jan Schneider Date: Fri, 16 Apr 2010 15:06:19 +0000 (+0200) Subject: Return calendar id when adding remote calendars. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=52e98b471379e7a8e93dfaf1165eb5841c82eba5;p=horde.git Return calendar id when adding remote calendars. --- diff --git a/kronolith/lib/Ajax/Application.php b/kronolith/lib/Ajax/Application.php index 89406c690..22314ea52 100644 --- a/kronolith/lib/Ajax/Application.php +++ b/kronolith/lib/Ajax/Application.php @@ -616,6 +616,7 @@ class Kronolith_Ajax_Application extends Horde_Ajax_Application_Base $GLOBALS['notification']->push(sprintf(_("The calendar \"%s\" has been saved."), $calendar['name']), 'horde.success'); } else { $GLOBALS['notification']->push(sprintf(_("You have been subscribed to \"%s\" (%s)."), $calendar['name'], $calendar['url']), 'horde.success'); + $result->calendar = $calendar['url']; } break; }