mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
* Calendar: Fix conflict popup opened with an error
This commit is contained in:
parent
8476a0cd35
commit
840f195288
@ -1625,8 +1625,8 @@ var CalendarApp = /** @class */ (function (_super) {
|
|||||||
}
|
}
|
||||||
else if (template) {
|
else if (template) {
|
||||||
// Open conflicts
|
// Open conflicts
|
||||||
var data = jQuery.extend({}, 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?menuaction=calendar.calendar_uiforms.ajax_conflicts', data), 850, 300, 'conflicts', 'calendar');
|
egw.openPopup(egw.link('/index.php', data), 850, 300, 'conflicts', 'calendar');
|
||||||
delete app.calendar.quick_add;
|
delete app.calendar.quick_add;
|
||||||
// Close the JS dialog
|
// Close the JS dialog
|
||||||
this.dialog.destroy();
|
this.dialog.destroy();
|
||||||
|
@ -1760,11 +1760,15 @@ class CalendarApp extends EgwApp
|
|||||||
else if (template)
|
else if (template)
|
||||||
{
|
{
|
||||||
// Open conflicts
|
// Open conflicts
|
||||||
var data = jQuery.extend({},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.openPopup(
|
||||||
egw.link(
|
egw.link(
|
||||||
'/index.php?menuaction=calendar.calendar_uiforms.ajax_conflicts',
|
'/index.php',
|
||||||
data
|
data
|
||||||
),
|
),
|
||||||
850, 300,
|
850, 300,
|
||||||
|
Loading…
Reference in New Issue
Block a user