(js,css) Resizable left column in attendees editor

Will not work in IE since it doesn't support the "resize" CSS property.

Fixes #1479, #3667
This commit is contained in:
Francis Lachapelle
2016-10-06 12:27:59 -04:00
parent be12528a0e
commit 5796992b56
5 changed files with 30 additions and 7 deletions
@@ -1666,6 +1666,12 @@ function onFreeBusyLoadHandler() {
Event.observe(window, "resize", onWindowResize);
$$('TABLE#freeBusy TD.freeBusyData DIV').first().observe("scroll", onScroll);
scrollToEvent();
// Recompute dimensions of attendees cell (left size) and freebusy data cell (right size)
// when the attendees cell is resized.
new ResizeSensor($('freeBusyAttendees').parentNode, function() {
onWindowResize(null);
});
}
document.observe("dom:loaded", onFreeBusyLoadHandler);