See ChangeLog

Monotone-Parent: a625593a580ec03e118df9e1150b6baf7c8f5c53
Monotone-Revision: 4ab14f5f124790fd968ea56e6352e971b51b1a5b

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2010-03-25T15:18:56
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2010-03-25 15:18:56 +00:00
parent b4979825e8
commit 784eb352b8
3 changed files with 14 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2010-03-25 Francis Lachapelle <flachapelle@inverse.ca>
* UI/WebServerResources/UIxContactsUserFolders.js
(onFolderSearchKeyDown, buildUsersTree): change color of search
text to red when no result returned from server.
2010-03-24 Ludovic Marcotte <lmarcotte@inverse.ca>
* Added a patch from Christophe Palanche and

View File

@@ -18,6 +18,10 @@ IMG#progressIndicator
INPUT#searchValue
{ margin: 0px; }
INPUT#searchValue.notfound
{ color: #f00 !important; }
DIV#folders
{ position: absolute;
left: 1em;

View File

@@ -89,6 +89,9 @@ function buildUsersTree(treeDiv, response) {
sd.observe("click", onTreeItemClick);
}
}
else {
$("searchValue").addClassName("notfound");
}
}
function onUserNodeToggle(event) {
@@ -227,8 +230,8 @@ function onConfirmFolderSelection(event) {
function onFolderSearchKeyDown(event) {
if (event.keyCode == Event.KEY_BACKSPACE
|| IsCharacterKey(event.keyCode)) {
$("searchValue").removeClassName("notfound");
var div = $("folders");
if (!div.clean) {
var oldD = $("d"); // the folders tree
if (oldD) {