mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-14 01:38:51 +00:00
(js) Fix display and refresh of freebusy
This commit is contained in:
@@ -162,9 +162,7 @@
|
||||
vm.cancel = cancel;
|
||||
vm.save = save;
|
||||
vm.attendeesEditor = {
|
||||
// startDate: vm.component.startDate,
|
||||
// endDate: vm.component.endDate,
|
||||
// days: getDays(),
|
||||
days: getDays(),
|
||||
hours: getHours()
|
||||
};
|
||||
vm.addStartDate = addStartDate;
|
||||
@@ -289,6 +287,7 @@
|
||||
oldEndDate = new Date(vm.component.end.getTime());
|
||||
}
|
||||
}
|
||||
updateFreeBusy();
|
||||
}
|
||||
|
||||
function updateEndTime() {
|
||||
@@ -306,6 +305,7 @@
|
||||
vm.component.delta = delta;
|
||||
oldEndDate = new Date(vm.component.end.getTime());
|
||||
}
|
||||
updateFreeBusy();
|
||||
}
|
||||
|
||||
function updateDueTime() {
|
||||
@@ -317,6 +317,11 @@
|
||||
function adjustDueTime() {
|
||||
oldDueDate = new Date(vm.component.due.getTime());
|
||||
}
|
||||
|
||||
function updateFreeBusy() {
|
||||
vm.attendeesEditor.days = getDays();
|
||||
vm.component.updateFreeBusy();
|
||||
}
|
||||
}
|
||||
|
||||
angular
|
||||
|
||||
Reference in New Issue
Block a user