merge of '8e91e5d3f8f29fee9018d49992181eb3b9eaa2e9'

and 'd0d6b4a5eda37be3f072033f5b46b9807f76a4e3'

Monotone-Parent: 8e91e5d3f8f29fee9018d49992181eb3b9eaa2e9
Monotone-Parent: d0d6b4a5eda37be3f072033f5b46b9807f76a4e3
Monotone-Revision: b1db9e0afb3cef83b2163571fce22ed0438d1af9

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-06-07T23:25:14
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-06-07 23:25:14 +00:00
15 changed files with 842 additions and 801 deletions
+12 -8
View File
@@ -424,9 +424,17 @@ function isNodeSelected(node) {
}
function acceptMultiSelect(node) {
var accept = ('' + node.getAttribute('multiselect')).toLowerCase();
var response = false;
var attribute = node.getAttribute('multiselect');
if (attribute) {
log("node '" + node.getAttribute("id")
+ "' is still using old-stylemultiselect!");
response = (attribute.toLowerCase() == 'yes');
}
else
response = node.multiselect;
return (accept == 'yes');
return response;
}
function onRowClick(event) {
@@ -1170,12 +1178,8 @@ function onBodyClickContextMenu(event) {
function configureSortableTableHeaders() {
var headers = document.getElementsByClassName("sortableTableHeader");
for (var i = 0; i < headers.length; i++) {
var anchor = $(headers[i]).childNodesWithTag("a")[0];
if (!anchor.link) {
anchor.link = anchor.getAttribute("href");
anchor.href = "#";
Event.observe(anchor, "click", onHeaderClick.bindAsEventListener(anchor), true);
}
var header = headers[i];
Event.observe(header, "click", onHeaderClick.bindAsEventListener(header));
}
}