mirror of
https://github.com/nextcloud/server.git
synced 2026-04-26 00:27:49 -04:00
Calendar: Don't request edit form for readonly events
This commit is contained in:
parent
f914cd0144
commit
ec2f49833d
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue