mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-10 15:30:25 +01:00
Calendar: Remove drag to create event placeholder when edit dialog is opened
This commit is contained in:
parent
5161735eee
commit
00084b77f3
@ -2046,6 +2046,11 @@ export class CalendarApp extends EgwApp
|
|||||||
{
|
{
|
||||||
if(this.egw.preference('new_event_dialog', 'calendar') === 'edit')
|
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
|
// Set this to open the add template in a popup
|
||||||
//options.template = 'calendar.add';
|
//options.template = 'calendar.add';
|
||||||
return this.egw.open(null, 'calendar', 'edit', options, '_blank', 'calendar');
|
return this.egw.open(null, 'calendar', 'edit', options, '_blank', 'calendar');
|
||||||
|
Loading…
Reference in New Issue
Block a user