Fix bug 719789 - The appointment mouseover should show the organizer. r=philipp
--HG-- extra : rebase_source : c7d00738c821c602d0e6142bbcd2fc361045624e
This commit is contained in:
Родитель
b3f5a99147
Коммит
65388df32e
|
@ -173,6 +173,8 @@ tooltipDate=Date:
|
|||
tooltipCalName=Calendar Name:
|
||||
# event status: tentative, confirmed, cancelled
|
||||
tooltipStatus=Status:
|
||||
# event organizer
|
||||
tooltipOrganizer=Organizer:
|
||||
# task/todo fields
|
||||
# start date time, due date time, task priority number, completed date time
|
||||
tooltipStart=Start:
|
||||
|
|
|
@ -236,6 +236,11 @@ function getPreviewForEvent( aEvent) {
|
|||
boxAppendLabeledText(vbox, "tooltipStatus", statusString);
|
||||
}
|
||||
|
||||
if (event.organizer && event.getAttendees({}).length > 0) {
|
||||
let organizer = event.organizer;
|
||||
boxAppendLabeledText(vbox, "tooltipOrganizer", organizer);
|
||||
}
|
||||
|
||||
var description = event.getProperty("DESCRIPTION");
|
||||
if (description) {
|
||||
boxAppendBodySeparator(vbox);
|
||||
|
|
Загрузка…
Ссылка в новой задаче