aboutsummaryrefslogtreecommitdiffstats
path: root/apps/calendar/js/loader.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/calendar/js/loader.js')
-rw-r--r--apps/calendar/js/loader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/js/loader.js b/apps/calendar/js/loader.js
index cef95afc3aa..57cf5adff0e 100644
--- a/apps/calendar/js/loader.js
+++ b/apps/calendar/js/loader.js
@@ -75,7 +75,7 @@ Calendar_Import={
}
$(document).ready(function(){
if(typeof FileActions !== 'undefined'){
- FileActions.register('text/calendar','importcal', '', Calendar_Import.importdialog);
+ FileActions.register('text/calendar','importcal', FileActions.PERMISSION_READ, '', Calendar_Import.importdialog);
FileActions.setDefault('text/calendar','importcal');
};
});