Monotone-Parent: 82121024dd2aa65f31879761d7937d78161f9888

Monotone-Revision: 365c4aee2feb0d139dc0dd6cf54897162221b468

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2007-08-08T21:06:51
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Francis Lachapelle
2007-08-08 21:06:51 +00:00
parent 313859704a
commit a7d1100c29
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -125,8 +125,8 @@ Element.addMethods({
if (document.currentPopupMenu)
hideMenu(document.currentPopupMenu);
var menuTop = event.pageY;
var menuLeft = event.pageX;
var menuTop = Event.pointerY(event);
var menuLeft = Event.pointerX(event);
var heightDiff = (window.innerHeight
- (menuTop + popup.offsetHeight));
if (heightDiff < 0)
+1 -1
View File
@@ -264,4 +264,4 @@ function onSelectAllAttachments() {
nodes[i].select();
}
window.addEventListener("load", initMailEditor, false);
addEvent(window, 'load', initMailEditor);
+2 -2
View File
@@ -105,10 +105,10 @@ function fancyAddRow(shouldEdit, text) {
// select popup
var rowNodes = row.childNodesWithTag("span");
select = rowNodes[0].childNodesWithTag("select")[0];
select = $(rowNodes[0]).childNodesWithTag("select")[0];
select.name = 'popup_' + currentIndex;
// select.value = row.childNodesWithTag("span")[0].childNodesWithTag("select")[0].value;
input = rowNodes[1].childNodesWithTag("input")[0];
input = $(rowNodes[1]).childNodesWithTag("input")[0];
input.name = 'addr_' + currentIndex;
input.id = 'addr_' + currentIndex;
input.value = text;