Monotone-Parent: 3628a0085e52c1990e5edce1cb09d581bc96f966

Monotone-Revision: 0d9c665e0f8597c3e8b604fcf9e26ef3593b0c9a

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2008-08-09T10:18:45
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Francis Lachapelle 2008-08-09 10:18:45 +00:00
parent 7a8b8c5ead
commit e5327a36f3
5 changed files with 22 additions and 11 deletions

View File

@ -166,7 +166,8 @@ function onComposeToUndecidedAttendees()
var attendees = $$("DIV#attendeesMenu LI.attendee.needs-action");
var addresses = new Array();
attendees.each(function(item) {
addresses.push(item.readAttribute("email"));
var address = item.firstChild.nodeValue.trim() + " <" + item.readAttribute("email") + ">";
addresses.push(address);
});
if (window.opener)
window.opener.openMailTo(addresses.join(","));
@ -383,7 +384,8 @@ function onAttendeesHrefClick(event) {
function onMailTo(event) {
var target = getTarget(event);
openMailTo(target.readAttribute("email"));
var address = target.firstChild.nodeValue.trim() + " <" + target.readAttribute("email") + ">";
openMailTo(address);
}
function getMenus() {

View File

@ -451,12 +451,11 @@ function onAddressResultClick(event) {
if (MailEditor.currentField) {
MailEditor.currentField.uid = this.uid;
MailEditor.currentField.value = this.firstChild.nodeValue.trim();
MailEditor.currentField.confirmedValue = currentField.value;
MailEditor.currentField.confirmedValue = MailEditor.currentField.value;
}
}
function initTabIndex(addressList, subjectField, msgArea) {
var i = 1;
addressList.select("input.textField").each(function (input) {
if (!input.readAttribute("readonly")) {

View File

@ -66,7 +66,7 @@ function fancyAddRow(shouldEdit, text, type) {
currentIndex++;
proto = lastChild.previous("tr");
row = proto.cloneNode(true);
row.setAttribute("id", 'row_' + currentIndex);
row.writeAttribute("id", 'row_' + currentIndex);
// select popup
var rowNodes = row.childNodesWithTag("td");
@ -81,7 +81,8 @@ function fancyAddRow(shouldEdit, text, type) {
addressList.insertBefore(row, lastChild);
if (shouldEdit) {
input.setAttribute("autocomplete", "off");
input.writeAttribute("autocomplete", "off");
input.stopObserving("keydown", onContactKeydown);
input.observe("keydown", onContactKeydown); // bind listener for address completion
input.focus();
input.select();

View File

@ -1,4 +1,4 @@
DIV#windowButtons
DIV#windowButtonz
{ position: absolute;
bottom: 0px;
left: 0px;
@ -7,6 +7,16 @@ DIV#windowButtons
margin: 1em;
text-align: right; }
DIV#windowButtons
{ position: absolute;
bottom: 0px;
left: 0px;
right: 15px;
height: 3em;
line-height: 2em;
vertical-align: middle;
text-align: right; }
DIV#pageContent
{ padding: 1em; }

View File

@ -275,6 +275,9 @@ DIV#daysView DIV.event.lasts96 { height: 96em; }
/* UIxAppointmentEditor */
DIV#attendeesMenu LI.separator
{ padding-left: 0px; }
SPAN.content A
{ line-height: 2.5em; }
@ -283,10 +286,6 @@ SPAN.content > INPUT.textField
/* UIxAttendeesEditor */
DIV#attendeesMenu
{ overflow: scroll;
overflow-x: hidden; }
DIV#attendeesView
{ left: 0.5em; }