Skip to content

Commit

Permalink
Allow import if user has Horde_Perms::EDIT on the calendar, just like…
Browse files Browse the repository at this point in the history
… basic view.
  • Loading branch information
mrubinsk committed Dec 16, 2013
1 parent 2699323 commit 6e6c4d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kronolith/js/kronolith.js
Expand Up @@ -3092,6 +3092,9 @@ KronolithCore = {
if (type == 'internal') {
$('kronolithCalendar' + type + 'UrlFeed').enable();
$('kronolithCalendar' + type + 'EmbedUrl').enable();
if (info.edit) {
$('kronolithCalendarinternalImport').enable();
}
}
HordeImple.AutoCompleter.kronolithCalendarinternalTags.disable();
if (Kronolith.conf.calendars[type][calendar].show) {
Expand Down

0 comments on commit 6e6c4d7

Please sign in to comment.