Monotone-Parent: a4acb98c2869ac2c151eb4e31df9aa519b89d2bc

Monotone-Revision: f804bb16907aea71d5d796ed9fbcb17689826e71

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-04-06T21:30:13
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau 2007-04-06 21:30:13 +00:00
parent c0856300bd
commit ab92bbb4c1
2 changed files with 13 additions and 16 deletions

View file

@ -745,20 +745,17 @@ function newEmailTo(sender) {
function expandUpperTree(node) {
var currentNode = node.parentNode;
while (currentNode.className != "dtree")
{
if (currentNode.className == 'clip')
{
var id = currentNode.getAttribute("id");
var number = parseInt(id.substr(2));
if (number > 0)
{
var cn = d.aNodes[number];
d.nodeStatus(1, number, cn._ls);
}
}
while (currentNode.className != "dtree") {
if (currentNode.className == 'clip') {
var id = currentNode.getAttribute("id");
var number = parseInt(id.substr(2));
if (number > 0) {
var cn = d.aNodes[number];
d.nodeStatus(1, number, cn._ls);
}
}
currentNode = currentNode.parentNode;
}
}
}
function initMailboxSelection(mailboxName) {

View file

@ -39,7 +39,7 @@ function newEvent(sender, type) {
if (params.length > 0)
urlstr += "?" + params.join("&");
window.open(urlstr, "", "width=490,height=600,resizable=0");
window.open(urlstr, "", "width=490,height=470,resizable=0");
return false; /* stop following the link */
}
@ -53,7 +53,7 @@ function _editEventId(id, owner) {
var urlstr = urlBase + id + "/edit";
var win = window.open(urlstr, "SOGo_edit_" + id,
"width=490,height=600,resizable=0");
"width=490,height=470,resizable=0");
win.focus();
}
@ -1062,7 +1062,7 @@ function appendCalendar(folderName, folder) {
colorBox.style.backgroundColor = color + ";";
}
li.appendChild(colorBox);
li.appendChild(document.createTextNode(folderName));
li.appendChild(document.createTextNode(" " + folderName));
calendarList.appendChild(li);