Added progress indicator to UIxContactsUserFolders

Monotone-Parent: 1790ef94a9b832cdf7c67b3bfabffd66305cbe15
Monotone-Revision: c8ef0ca913584c6e41ef4f0aacb6789393a667e2

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2009-06-15T14:13:39
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle 2009-06-15 14:13:39 +00:00
parent 95b52f811f
commit 7a7ce4821d
2 changed files with 10 additions and 6 deletions

View file

@ -10,6 +10,11 @@ DIV#filterPanel
SPAN.searchBox
{ float: none !important; }
IMG#progressIndicator
{ float: right;
margin: 0;
padding: 1em; }
INPUT#searchValue
{ margin: 0px; }

View file

@ -75,10 +75,8 @@ function buildUsersTree(treeDiv, response) {
if (lines[i].length > 0)
addUserLineToTree(d, 1 + i * multiplier, lines[i]);
}
treeDiv.update(d);
treeDiv.clean = false;
for (var i = 0; i < lines.length - 1; i++) {
if (lines[i].length > 0) {
if (!isUserDialog) {
@ -228,6 +226,7 @@ function onFolderSearchKeyDown(event) {
}
div.clean = true;
$("addButton").disabled = true;
startAnimation($("pageContent"), $("filterPanel"));
}
}