From 52e98b471379e7a8e93dfaf1165eb5841c82eba5 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Fri, 16 Apr 2010 17:06:19 +0200 Subject: [PATCH] Return calendar id when adding remote calendars. --- kronolith/lib/Ajax/Application.php | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.11.0