mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
* Calendar: Fix quick add did not open conflict dialog
This commit is contained in:
parent
f38f61cf1b
commit
a19e97df63
@ -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