diff options
Diffstat (limited to 'apps/calendar/js')
-rw-r--r-- | apps/calendar/js/calendar.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js index d2af6918d5c..907d94edb02 100644 --- a/apps/calendar/js/calendar.js +++ b/apps/calendar/js/calendar.js @@ -73,6 +73,9 @@ Calendar={ } }, editEvent:function(calEvent, jsEvent, view){ + if (calEvent.editable == false || calEvent.source.editable == false) { + return; + } var id = calEvent.id; if($('#event').dialog('isOpen') == true){ // TODO: save event |