From e5327a36f3ea573ff3b87e223ca4b810f5a8b2ae Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Sat, 9 Aug 2008 10:18:45 +0000 Subject: [PATCH] Monotone-Parent: 3628a0085e52c1990e5edce1cb09d581bc96f966 Monotone-Revision: 0d9c665e0f8597c3e8b604fcf9e26ef3593b0c9a Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-08-09T10:18:45 Monotone-Branch: ca.inverse.sogo --- UI/WebServerResources/UIxAppointmentEditor.js | 6 ++++-- UI/WebServerResources/UIxMailEditor.js | 3 +-- UI/WebServerResources/UIxMailToSelection.js | 5 +++-- UI/WebServerResources/UIxRecurrenceEditor.css | 12 +++++++++++- UI/WebServerResources/iefixes.css | 7 +++---- 5 files changed, 22 insertions(+), 11 deletions(-) diff --git a/UI/WebServerResources/UIxAppointmentEditor.js b/UI/WebServerResources/UIxAppointmentEditor.js index 55c1ce3e1..fbae48828 100644 --- a/UI/WebServerResources/UIxAppointmentEditor.js +++ b/UI/WebServerResources/UIxAppointmentEditor.js @@ -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() { diff --git a/UI/WebServerResources/UIxMailEditor.js b/UI/WebServerResources/UIxMailEditor.js index d53fa1894..a5bc93555 100644 --- a/UI/WebServerResources/UIxMailEditor.js +++ b/UI/WebServerResources/UIxMailEditor.js @@ -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")) { diff --git a/UI/WebServerResources/UIxMailToSelection.js b/UI/WebServerResources/UIxMailToSelection.js index 21bf1d2df..6c968ef65 100644 --- a/UI/WebServerResources/UIxMailToSelection.js +++ b/UI/WebServerResources/UIxMailToSelection.js @@ -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(); diff --git a/UI/WebServerResources/UIxRecurrenceEditor.css b/UI/WebServerResources/UIxRecurrenceEditor.css index 3d37e662d..2e2e9d700 100644 --- a/UI/WebServerResources/UIxRecurrenceEditor.css +++ b/UI/WebServerResources/UIxRecurrenceEditor.css @@ -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; } diff --git a/UI/WebServerResources/iefixes.css b/UI/WebServerResources/iefixes.css index 08509098c..28a014570 100644 --- a/UI/WebServerResources/iefixes.css +++ b/UI/WebServerResources/iefixes.css @@ -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; }