From 508cd16aa304e64bb7a0977b717edabb001715d7 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Wed, 19 May 2010 19:39:24 +0200 Subject: [PATCH] Only show sharing icon to own calendars. --- kronolith/js/kronolith.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index 158518aa4..374cf08e2 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -1012,7 +1012,7 @@ KronolithCore = { .store('calendarclass', type) .setStyle({ backgroundColor: cal.bg, color: cal.fg }) .insert(cal.name.escapeHTML()); - if (cal.perms) { + if (cal.owner && cal.perms) { $H(cal.perms).each(function(perm) { if (perm.key != 'type' && perm.value) { calendar.insert(' ').insert(new Element('img', { src: Kronolith.conf.URI_IMG + 'attendees-' + cal.fg.substring(1) + '.png', title: Kronolith.text.shared })); -- 2.11.0