forked from extern/egroupware
Calendar - Different way to get participants for quick add -> edit
This commit is contained in:
parent
47cde432ef
commit
6cbf065f7a
@ -1793,9 +1793,17 @@ app.classes.calendar = (function(){ "use strict"; return AppJS.extend(
|
|||||||
// Some select things to pass on
|
// Some select things to pass on
|
||||||
var mgr = widget.getRoot().getArrayMgr('content');
|
var mgr = widget.getRoot().getArrayMgr('content');
|
||||||
var values = {
|
var values = {
|
||||||
participants: mgr.getEntry('participants'),
|
participants: [],
|
||||||
whole_day: mgr.getEntry('whole_day')
|
whole_day: mgr.getEntry('whole_day')
|
||||||
};
|
};
|
||||||
|
for(var id in mgr.getEntry('participants'))
|
||||||
|
{
|
||||||
|
var participant = mgr.getEntry('participants')[id];
|
||||||
|
if (participant && participant.uid)
|
||||||
|
{
|
||||||
|
values.participants.push(participant.uid);
|
||||||
|
}
|
||||||
|
}
|
||||||
return jQuery.extend(
|
return jQuery.extend(
|
||||||
values,
|
values,
|
||||||
widget.getInstanceManager().getValues(widget.getRoot())
|
widget.getInstanceManager().getValues(widget.getRoot())
|
||||||
|
Loading…
Reference in New Issue
Block a user