mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-08 06:48:51 +00:00
Monotone-Parent: b3fc892e5da4aadb8256c6689800fd5069d6ac91
Monotone-Revision: 036947e22f5b3eb801463875f6254522044e8867 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-09-10T18:46:05 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -121,15 +121,15 @@ function fancyAddRow(shouldEdit, text) {
|
||||
input.select();
|
||||
input.setAttribute('autocomplete', 'on');
|
||||
}
|
||||
// this.adjustInlineAttachmentListHeight(this);
|
||||
}
|
||||
|
||||
function addressFieldGotFocus(sender) {
|
||||
var idx;
|
||||
|
||||
idx = this.getIndexFromIdentifier(sender.id);
|
||||
if ((lastIndex == idx) || (idx == 0)) return;
|
||||
if (lastIndex == idx) return;
|
||||
this.removeLastEditedRowIfEmpty();
|
||||
onWindowResize(null);
|
||||
|
||||
return false;
|
||||
}
|
||||
@@ -156,7 +156,6 @@ function removeLastEditedRowIfEmpty() {
|
||||
addressList = $("addressList");
|
||||
senderRow = $("row_" + idx);
|
||||
addressList.removeChild(senderRow);
|
||||
this.adjustInlineAttachmentListHeight(this);
|
||||
}
|
||||
|
||||
function findAddressWithIndex(idx) {
|
||||
@@ -225,21 +224,5 @@ function UIxRecipientSelectorHasRecipients() {
|
||||
return false;
|
||||
}
|
||||
|
||||
function adjustInlineAttachmentListHeight(sender) {
|
||||
var e;
|
||||
|
||||
e = $('attachmentsArea');
|
||||
if (e.style.display != 'none') {
|
||||
/* need to lower left size first, because left auto-adjusts to right! */
|
||||
xHeight('compose_attachments_list', 10);
|
||||
|
||||
var leftHeight, rightHeaderHeight;
|
||||
leftHeight = xHeight('compose_leftside');
|
||||
rightHeaderHeight = xHeight('compose_attachments_header');
|
||||
xHeight('compose_attachments_list',
|
||||
(leftHeight - rightHeaderHeight) - 16);
|
||||
}
|
||||
}
|
||||
|
||||
/* addressbook helpers */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user