summaryrefslogtreecommitdiffstats
path: root/apps/calendar
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-07-25 16:33:08 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-07-25 16:33:08 -0400
commit4d17ed2f71c8cbb0d34c039aa7953b2427ce5c78 (patch)
tree136a050983c8feaa993805ffff53d5aad86f9cff /apps/calendar
parent6f58eca5349d8c82f7bba3a7c0f92c0caa8e3749 (diff)
downloadnextcloud-server-4d17ed2f71c8cbb0d34c039aa7953b2427ce5c78.tar.gz
nextcloud-server-4d17ed2f71c8cbb0d34c039aa7953b2427ce5c78.zip
Make file actions permissions aware
Diffstat (limited to 'apps/calendar')
-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');
};
});