Monotone-Parent: aee5a83161f17cfc5adfc2cd3caf9d72bb2bbe97

Monotone-Revision: 69cc1831846c1c973825222eaf0faa27fa99c1b9

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-02-05T20:00:52
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2008-02-05 20:00:52 +00:00
parent 2f8d9423df
commit bead9f8828
11 changed files with 40 additions and 36 deletions
+6 -6
View File
@@ -555,13 +555,13 @@ function onRowClick(event) {
else if (isNodeSelected(node) == true) {
$(node).deselect();
} else {
$(node).select();
$(node).selectElement();
}
// At this point, should empty content of 3-pane view
} else {
// Single line selection
$(node.parentNode).deselectAll();
$(node).select();
$(node).selectElement();
if (initialSelection != $(node.parentNode).getSelectedNodes()) {
// Selection has changed; fire mousedown event
@@ -920,7 +920,7 @@ function onSearchFocus() {
this.value = "";
this.setAttribute("modified", "");
} else {
this.select();
this.selectElement();
}
this.setStyle({ color: "#000" });
@@ -975,9 +975,9 @@ function initCriteria() {
var searchCriteria = $("searchCriteria");
var searchValue = $("searchValue");
var searchOptions = $("searchOptions");
if (searchValue) {
var firstOption = searchOptions.down('li');
var firstOption = searchOptions.down("li");
if (firstOption) {
searchCriteria.value = firstOption.getAttribute('id');
searchValue.ghostPhrase = firstOption.innerHTML;
@@ -1181,7 +1181,7 @@ function initMenus() {
}
function initMenu(menuDIV, callbacks) {
var lis = $(menuDIV.down("ul")).childNodesWithTag("li");
var lis = menuDIV.down("ul").childNodesWithTag("li");
for (var j = 0; j < lis.length; j++) {
var node = $(lis[j]);
node.observe("mousedown", listRowMouseDownHandler, false);