mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:49:10 +01:00
missing .js file from Nathans merge-edit commit
This commit is contained in:
parent
3b8f6c505a
commit
16ef93b1f9
@ -2203,21 +2203,29 @@ var CalendarApp = /** @class */ (function (_super) {
|
||||
nm.controller._selectionMgr.selectAll(true);
|
||||
}
|
||||
if (action && selected) {
|
||||
action.execute(selected);
|
||||
_super.prototype.merge.call(this, action, selected);
|
||||
}
|
||||
}
|
||||
else {
|
||||
// Set the hidden inputs to the current time span & submit
|
||||
widget.getRoot().getWidgetById('first').set_value(app.calendar.state.first);
|
||||
widget.getRoot().getWidgetById('last').set_value(app.calendar.state.last);
|
||||
if (widget.getRoot().getArrayMgr('content').getEntry('collabora_enabled')) {
|
||||
widget.getInstanceManager().submit();
|
||||
}
|
||||
else {
|
||||
widget.getInstanceManager().postSubmit();
|
||||
window.setTimeout(function () { widget.set_value(''); }, 100);
|
||||
}
|
||||
var vars = {
|
||||
menuaction: 'calendar.calendar_merge.merge_entries',
|
||||
document: widget.getValue(),
|
||||
merge: 'calendar_merge',
|
||||
pdf: false,
|
||||
select_all: false,
|
||||
id: JSON.stringify({
|
||||
first: app.calendar.state.first,
|
||||
last: app.calendar.state.last,
|
||||
date: app.calendar.state.first,
|
||||
view: app.calendar.state.view
|
||||
})
|
||||
};
|
||||
egw.open_link(egw.link('/index.php', vars), '_blank');
|
||||
}
|
||||
widget.set_value('');
|
||||
return false;
|
||||
};
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user