projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a3c59b
)
Only show sharing icon to own calendars.
author
Jan Schneider
<jan@horde.org>
Wed, 19 May 2010 17:39:24 +0000
(19:39 +0200)
committer
Jan Schneider
<jan@horde.org>
Wed, 19 May 2010 17:39:24 +0000
(19:39 +0200)
kronolith/js/kronolith.js
patch
|
blob
|
history
diff --git
a/kronolith/js/kronolith.js
b/kronolith/js/kronolith.js
index
158518a
..
374cf08
100644
(file)
--- 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 }));