mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 14:28:52 +00:00
Cleanup Javascript
Monotone-Parent: b618e1688ed06827d0300b85ed2a93ae6a4930fe Monotone-Revision: 45aca387e14de293ad62e303a3c8c06620805e6c Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-08-13T19:09:16 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -36,22 +36,6 @@ function usersSearchCallback(http) {
|
||||
div.update();
|
||||
}
|
||||
|
||||
function onFolderSearchKeyDown(event) { log ("onFolderSearchKeyDown");
|
||||
var div = $("administrationContent");
|
||||
|
||||
if (!div.clean) {
|
||||
var oldD = $("d");
|
||||
if (oldD) {
|
||||
oldD.remove();
|
||||
delete d;
|
||||
}
|
||||
div.clean = true;
|
||||
}
|
||||
|
||||
if (this.timer)
|
||||
startAnimation($("pageContent"), $("filterPanel"));
|
||||
}
|
||||
|
||||
function buildUsersTree(treeDiv, response) {
|
||||
d = new dTree("d");
|
||||
d.config.folderLlinks = true;
|
||||
@@ -237,14 +221,11 @@ function onToggleDescription(event) {
|
||||
if (desc.visible()) {
|
||||
desc.hide();
|
||||
img.src = ResourcesURL + "/arrow-rit-sharp.gif";
|
||||
//div.setStyle({ top: (filter.cumulativeOffset().top + 10) + "px" });
|
||||
//h1.setStyle({ float: "left" });
|
||||
filter.setStyle({ float: "right", clear: "none" });
|
||||
}
|
||||
else {
|
||||
desc.show();
|
||||
img.src = ResourcesURL + "/arrow-dwn.gif";
|
||||
//h1.setStyle({ float: "none" });
|
||||
filter.setStyle({ float: "none", clear: "left" });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user