Calendar: Don't request edit form for readonly events
This commit is contained in:
parent
f914cd0144
commit
ec2f49833d
|
@ -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 New Issue