mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +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,
|
minute: _ev.target.dataset.minute || 0,
|
||||||
owner: this.options.owner
|
owner: this.options.owner
|
||||||
};
|
};
|
||||||
app.calendar.add(options);
|
this.getInstanceManager().app_obj.calendar.add(options);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// Header, all day non-blocking
|
// Header, all day non-blocking
|
||||||
@ -1151,14 +1151,14 @@ export class et2_calendar_daycol extends et2_valueWidget implements et2_IDetache
|
|||||||
non_blocking: true,
|
non_blocking: true,
|
||||||
owner: this.options.owner
|
owner: this.options.owner
|
||||||
};
|
};
|
||||||
app.calendar.add(options);
|
this.getInstanceManager().app_obj.calendar.add(options);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Day label
|
// Day label
|
||||||
else if(this.title.is(_ev.target) || this.title.has(_ev.target).length)
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user