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:
parent
95b52f811f
commit
7a7ce4821d
|
@ -10,6 +10,11 @@ DIV#filterPanel
|
||||||
SPAN.searchBox
|
SPAN.searchBox
|
||||||
{ float: none !important; }
|
{ float: none !important; }
|
||||||
|
|
||||||
|
IMG#progressIndicator
|
||||||
|
{ float: right;
|
||||||
|
margin: 0;
|
||||||
|
padding: 1em; }
|
||||||
|
|
||||||
INPUT#searchValue
|
INPUT#searchValue
|
||||||
{ margin: 0px; }
|
{ margin: 0px; }
|
||||||
|
|
||||||
|
|
|
@ -75,10 +75,8 @@ function buildUsersTree(treeDiv, response) {
|
||||||
if (lines[i].length > 0)
|
if (lines[i].length > 0)
|
||||||
addUserLineToTree(d, 1 + i * multiplier, lines[i]);
|
addUserLineToTree(d, 1 + i * multiplier, lines[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
treeDiv.update(d);
|
treeDiv.update(d);
|
||||||
treeDiv.clean = false;
|
treeDiv.clean = false;
|
||||||
|
|
||||||
for (var i = 0; i < lines.length - 1; i++) {
|
for (var i = 0; i < lines.length - 1; i++) {
|
||||||
if (lines[i].length > 0) {
|
if (lines[i].length > 0) {
|
||||||
if (!isUserDialog) {
|
if (!isUserDialog) {
|
||||||
|
@ -228,6 +226,7 @@ function onFolderSearchKeyDown(event) {
|
||||||
}
|
}
|
||||||
div.clean = true;
|
div.clean = true;
|
||||||
$("addButton").disabled = true;
|
$("addButton").disabled = true;
|
||||||
|
startAnimation($("pageContent"), $("filterPanel"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue