mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Calendar: Remove drag to create event placeholder when edit dialog is opened
This commit is contained in:
parent
4c2e5ba853
commit
d6cca90dbf
@ -2073,6 +2073,11 @@ export class CalendarApp extends EgwApp
|
||||
{
|
||||
if(this.egw.preference('new_event_dialog', 'calendar') === 'edit')
|
||||
{
|
||||
// We lose control after this, so remove the placeholder now
|
||||
if(event && event.destroy)
|
||||
{
|
||||
event.destroy();
|
||||
}
|
||||
// Set this to open the add template in a popup
|
||||
//options.template = 'calendar.add';
|
||||
return this.egw.open(null, 'calendar', 'edit', options, '_blank', 'calendar');
|
||||
|
Loading…
Reference in New Issue
Block a user