From fec244eb00508517cd3313f6cf55973c2d2e99cf Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 7 Jun 2012 17:20:16 -0700 Subject: merge RTx-Calendar 0.14 --- rt/share/html/Prefs/Calendar.html | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'rt/share/html/Prefs/Calendar.html') diff --git a/rt/share/html/Prefs/Calendar.html b/rt/share/html/Prefs/Calendar.html index 5fbdd2717..b508d103b 100644 --- a/rt/share/html/Prefs/Calendar.html +++ b/rt/share/html/Prefs/Calendar.html @@ -6,10 +6,7 @@ $HiddenField => undef <& /Elements/Header, Title => $title &> -<& /User/Elements/Tabs, - current_tab => 'Prefs/Calendar.html', - Title => $title -&> +<& /Elements/Tabs &> <&| /Widgets/TitleBox, title => loc('ICal Feeds (ics)') &> @@ -50,7 +47,7 @@ Builder")%>.

<& /Prefs/Elements/CalendarFeed &> -% # only allow this part if +% # only allow this part if % if ($AllowSearch) { % my $search_count; @@ -107,9 +104,9 @@ $AllowSearch = 1 my $object; -if ($HiddenField eq 'Private') { +if ($HiddenField && $HiddenField eq 'Private') { $object = $session{CurrentUser}->UserObj; -} elsif ($AllowSearch and my ($SearchId) = $HiddenField =~ m/SavedSearch\-(\d+)/) { +} elsif ($AllowSearch and $HiddenField my ($SearchId) = $HiddenField =~ m/SavedSearch\-(\d+)/) { $object = $session{CurrentUser}->Attributes->WithId($SearchId); } -- cgit v1.2.1