mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-24 06:19:30 +00:00
(fix) improved the start/end delta handling and fixed the attendees viewer
This commit is contained in:
@@ -401,6 +401,8 @@
|
||||
Component.$Preferences.defaults['SOGoCalendar' + type + 'DefaultClassification'].toLowerCase();
|
||||
});
|
||||
|
||||
this.delta = 60;
|
||||
|
||||
if (this.startDate)
|
||||
this.start = new Date(this.startDate.substring(0,10) + ' ' + this.startDate.substring(11,16));
|
||||
else if (this.type == 'appointment') {
|
||||
@@ -413,7 +415,7 @@
|
||||
else if (this.type == 'appointment') {
|
||||
this.end = new Date();
|
||||
this.end.setMinutes(Math.round(this.end.getMinutes()/15)*15);
|
||||
this.end.addHours(1);
|
||||
this.end.addMinutes(this.delta);
|
||||
}
|
||||
|
||||
if (this.dueDate)
|
||||
|
||||
Reference in New Issue
Block a user