Monotone-Parent: 3628a0085e52c1990e5edce1cb09d581bc96f966
Monotone-Revision: 0d9c665e0f8597c3e8b604fcf9e26ef3593b0c9a Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2008-08-09T10:18:45 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
parent
7a8b8c5ead
commit
e5327a36f3
|
@ -166,7 +166,8 @@ function onComposeToUndecidedAttendees()
|
||||||
var attendees = $$("DIV#attendeesMenu LI.attendee.needs-action");
|
var attendees = $$("DIV#attendeesMenu LI.attendee.needs-action");
|
||||||
var addresses = new Array();
|
var addresses = new Array();
|
||||||
attendees.each(function(item) {
|
attendees.each(function(item) {
|
||||||
addresses.push(item.readAttribute("email"));
|
var address = item.firstChild.nodeValue.trim() + " <" + item.readAttribute("email") + ">";
|
||||||
|
addresses.push(address);
|
||||||
});
|
});
|
||||||
if (window.opener)
|
if (window.opener)
|
||||||
window.opener.openMailTo(addresses.join(","));
|
window.opener.openMailTo(addresses.join(","));
|
||||||
|
@ -383,7 +384,8 @@ function onAttendeesHrefClick(event) {
|
||||||
|
|
||||||
function onMailTo(event) {
|
function onMailTo(event) {
|
||||||
var target = getTarget(event);
|
var target = getTarget(event);
|
||||||
openMailTo(target.readAttribute("email"));
|
var address = target.firstChild.nodeValue.trim() + " <" + target.readAttribute("email") + ">";
|
||||||
|
openMailTo(address);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getMenus() {
|
function getMenus() {
|
||||||
|
|
|
@ -451,12 +451,11 @@ function onAddressResultClick(event) {
|
||||||
if (MailEditor.currentField) {
|
if (MailEditor.currentField) {
|
||||||
MailEditor.currentField.uid = this.uid;
|
MailEditor.currentField.uid = this.uid;
|
||||||
MailEditor.currentField.value = this.firstChild.nodeValue.trim();
|
MailEditor.currentField.value = this.firstChild.nodeValue.trim();
|
||||||
MailEditor.currentField.confirmedValue = currentField.value;
|
MailEditor.currentField.confirmedValue = MailEditor.currentField.value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function initTabIndex(addressList, subjectField, msgArea) {
|
function initTabIndex(addressList, subjectField, msgArea) {
|
||||||
|
|
||||||
var i = 1;
|
var i = 1;
|
||||||
addressList.select("input.textField").each(function (input) {
|
addressList.select("input.textField").each(function (input) {
|
||||||
if (!input.readAttribute("readonly")) {
|
if (!input.readAttribute("readonly")) {
|
||||||
|
|
|
@ -66,7 +66,7 @@ function fancyAddRow(shouldEdit, text, type) {
|
||||||
currentIndex++;
|
currentIndex++;
|
||||||
proto = lastChild.previous("tr");
|
proto = lastChild.previous("tr");
|
||||||
row = proto.cloneNode(true);
|
row = proto.cloneNode(true);
|
||||||
row.setAttribute("id", 'row_' + currentIndex);
|
row.writeAttribute("id", 'row_' + currentIndex);
|
||||||
|
|
||||||
// select popup
|
// select popup
|
||||||
var rowNodes = row.childNodesWithTag("td");
|
var rowNodes = row.childNodesWithTag("td");
|
||||||
|
@ -81,7 +81,8 @@ function fancyAddRow(shouldEdit, text, type) {
|
||||||
addressList.insertBefore(row, lastChild);
|
addressList.insertBefore(row, lastChild);
|
||||||
|
|
||||||
if (shouldEdit) {
|
if (shouldEdit) {
|
||||||
input.setAttribute("autocomplete", "off");
|
input.writeAttribute("autocomplete", "off");
|
||||||
|
input.stopObserving("keydown", onContactKeydown);
|
||||||
input.observe("keydown", onContactKeydown); // bind listener for address completion
|
input.observe("keydown", onContactKeydown); // bind listener for address completion
|
||||||
input.focus();
|
input.focus();
|
||||||
input.select();
|
input.select();
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
DIV#windowButtons
|
DIV#windowButtonz
|
||||||
{ position: absolute;
|
{ position: absolute;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
|
@ -7,6 +7,16 @@ DIV#windowButtons
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
text-align: right; }
|
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
|
DIV#pageContent
|
||||||
{ padding: 1em; }
|
{ padding: 1em; }
|
||||||
|
|
||||||
|
|
|
@ -275,6 +275,9 @@ DIV#daysView DIV.event.lasts96 { height: 96em; }
|
||||||
|
|
||||||
/* UIxAppointmentEditor */
|
/* UIxAppointmentEditor */
|
||||||
|
|
||||||
|
DIV#attendeesMenu LI.separator
|
||||||
|
{ padding-left: 0px; }
|
||||||
|
|
||||||
SPAN.content A
|
SPAN.content A
|
||||||
{ line-height: 2.5em; }
|
{ line-height: 2.5em; }
|
||||||
|
|
||||||
|
@ -283,10 +286,6 @@ SPAN.content > INPUT.textField
|
||||||
|
|
||||||
/* UIxAttendeesEditor */
|
/* UIxAttendeesEditor */
|
||||||
|
|
||||||
DIV#attendeesMenu
|
|
||||||
{ overflow: scroll;
|
|
||||||
overflow-x: hidden; }
|
|
||||||
|
|
||||||
DIV#attendeesView
|
DIV#attendeesView
|
||||||
{ left: 0.5em; }
|
{ left: 0.5em; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue