forked from extern/egroupware
* Calendar: Fix quick add did not open conflict dialog
This commit is contained in:
parent
1ae7549b7a
commit
e7a918c158
@ -1714,7 +1714,7 @@ var CalendarApp = /** @class */ (function (_super) {
|
|||||||
this.dialog.destroy();
|
this.dialog.destroy();
|
||||||
delete app.calendar.quick_add;
|
delete app.calendar.quick_add;
|
||||||
}
|
}
|
||||||
else if (template) {
|
else if (template || (template = etemplate2_1.etemplate2.getById("calendar-conflicts"))) {
|
||||||
// Open conflicts
|
// Open conflicts
|
||||||
var data = jQuery.extend({ menuaction: 'calendar.calendar_uiforms.ajax_conflicts' }, template.widgetContainer.getArrayMgr('content').data, app.calendar.quick_add);
|
var data = jQuery.extend({ menuaction: 'calendar.calendar_uiforms.ajax_conflicts' }, template.widgetContainer.getArrayMgr('content').data, app.calendar.quick_add);
|
||||||
egw.openPopup(egw.link('/index.php', data), 850, 300, 'conflicts', 'calendar');
|
egw.openPopup(egw.link('/index.php', data), 850, 300, 'conflicts', 'calendar');
|
||||||
|
@ -1870,7 +1870,7 @@ class CalendarApp extends EgwApp
|
|||||||
this.dialog.destroy();
|
this.dialog.destroy();
|
||||||
delete app.calendar.quick_add;
|
delete app.calendar.quick_add;
|
||||||
}
|
}
|
||||||
else if (template)
|
else if (template || (template = etemplate2.getById("calendar-conflicts")))
|
||||||
{
|
{
|
||||||
// Open conflicts
|
// Open conflicts
|
||||||
var data = jQuery.extend(
|
var data = jQuery.extend(
|
||||||
|
Loading…
Reference in New Issue
Block a user