Monotone-Parent: 56874b8e1d2260289bbdde17c8dbc01a15f354e7

Monotone-Revision: 6fed1c4d16e6a86a4b38ab7174119068a10f5ede

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-09-18T18:03:59
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2008-09-18 18:03:59 +00:00
parent cf911feea7
commit fcfb2c3200
4 changed files with 107 additions and 36 deletions

View File

@@ -987,6 +987,15 @@ function configureSelectionButtons() {
}
}
function onWindowResize(event) {
var handle = $("dragHandle");
if (handle)
handle.adjust();
handle = $("rightDragHandle");
if (handle)
handle.adjust();
}
function initContacts(event) {
if (document.body.hasClassName("popup"))
configureSelectionButtons();
@@ -1003,6 +1012,9 @@ function initContacts(event) {
configureSortableTableHeaders(table);
TableKit.Resizable.init(table, {'trueResize' : true, 'keepWidth' : true});
}
Event.observe(window, "resize", onWindowResize);
onWindowResize(null);
// Default sort options
sorting["attribute"] = "displayName";