mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-07 14:28:52 +00:00
See Changelog.
Monotone-Parent: c3ae9437f2d6f5684527ea0486ab6204b9ce62b2 Monotone-Revision: e3951f85165fbcdda1e4339ca3625cd4f4fbcf9f Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-03-11T20:06:38 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -240,7 +240,7 @@ function createAttachment(node, list) {
|
||||
var attachment = createElement("li", null, null, { node: node }, null, list);
|
||||
createElement("img", null, null, { src: ResourcesURL + "/attachment.gif" },
|
||||
null, attachment);
|
||||
attachment.observe("click", onRowClick);
|
||||
attachment.on("click", onRowClick);
|
||||
|
||||
var filename = node.value;
|
||||
var separator;
|
||||
@@ -362,16 +362,15 @@ function initMailEditor() {
|
||||
|
||||
var list = $("attachments");
|
||||
if (!list) return;
|
||||
$(list).attachMenu("attachmentsMenu");
|
||||
list.attachMenu("attachmentsMenu");
|
||||
var elements = $(list).childNodesWithTag("li");
|
||||
for (var i = 0; i < elements.length; i++)
|
||||
elements[i].observe("click", onRowClick);
|
||||
elements[i].on("click", onRowClick);
|
||||
|
||||
var listContent = $("attachments").childNodesWithTag("li");
|
||||
if (listContent.length > 0)
|
||||
if (elements.length > 0)
|
||||
$("attachmentsArea").setStyle({ display: "block" });
|
||||
|
||||
var textarea = $("text");
|
||||
var textarea = $("text");
|
||||
|
||||
var textContent = textarea.getValue();
|
||||
if (hasSignature()) {
|
||||
@@ -409,7 +408,7 @@ function initMailEditor() {
|
||||
'BulletedList', '-', 'Link', 'Unlink', 'Image',
|
||||
'JustifyLeft','JustifyCenter','JustifyRight',
|
||||
'JustifyBlock','Font','FontSize','-','TextColor',
|
||||
'BGColor']
|
||||
'BGColor','-','SpellChecker']
|
||||
],
|
||||
language : localeCode,
|
||||
scayt_sLang : localeCode
|
||||
|
||||
Reference in New Issue
Block a user