mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:29 +01:00
Calendar: Get calendar week view actions working from home portlet
This commit is contained in:
parent
da839dcfca
commit
9036186568
@ -1135,7 +1135,7 @@ export class et2_calendar_daycol extends et2_valueWidget implements et2_IDetache
|
||||
minute: _ev.target.dataset.minute || 0,
|
||||
owner: this.options.owner
|
||||
};
|
||||
app.calendar.add(options);
|
||||
this.getInstanceManager().app_obj.calendar.add(options);
|
||||
return false;
|
||||
}
|
||||
// Header, all day non-blocking
|
||||
@ -1151,14 +1151,14 @@ export class et2_calendar_daycol extends et2_valueWidget implements et2_IDetache
|
||||
non_blocking: true,
|
||||
owner: this.options.owner
|
||||
};
|
||||
app.calendar.add(options);
|
||||
this.getInstanceManager().app_obj.calendar.add(options);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// Day label
|
||||
else if(this.title.is(_ev.target) || this.title.has(_ev.target).length)
|
||||
{
|
||||
app.calendar.update_state({view: 'day',date: this.date.toJSON()});
|
||||
this.getInstanceManager().app_obj.calendar.update_state({view: 'day', date: this.date.toJSON()});
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user