projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f751000
)
Don't show delete button when creating calendars.
author
Jan Schneider
<jan@horde.org>
Wed, 3 Mar 2010 22:30:34 +0000
(23:30 +0100)
committer
Jan Schneider
<jan@horde.org>
Wed, 3 Mar 2010 22:31:02 +0000
(23:31 +0100)
kronolith/js/kronolith.js
patch
|
blob
|
history
diff --git
a/kronolith/js/kronolith.js
b/kronolith/js/kronolith.js
index
66f160e
..
f8a2c0e
100644
(file)
--- a/
kronolith/js/kronolith.js
+++ b/
kronolith/js/kronolith.js
@@
-2239,7
+2239,7
@@
KronolithCore = {
if (type == 'internal') {
form.down('.kronolithCalendarSubscribe').hide();
form.down('.kronolithCalendarUnsubscribe').hide();
- if (calendar == Kronolith.conf.user) {
+ if (
newCalendar ||
calendar == Kronolith.conf.user) {
form.down('.kronolithCalendarDelete').hide();
} else {
form.down('.kronolithCalendarDelete').show();