mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 11:25:24 +00:00
See ChangeLog.
Monotone-Parent: 7d5711d36b09624f7b8bf3747c0b7c2d743b3d00 Monotone-Revision: c3abcdf8be5584dc4c00fde87402cef17f629435 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2012-02-03T18:44:02
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2012-02-03 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/UIxMailEditor.js (onRemoveAttachments):
|
||||
instead of extracting the filename from the text nodes under the
|
||||
list element, we now use the title attribute. This fixes an issue
|
||||
with IE that would append an extra space to the filename.
|
||||
|
||||
2012-02-02 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/MailerUI/UIxMailMainFrame.m (-composeAction): recipient
|
||||
|
||||
@@ -424,7 +424,7 @@ function initMailEditor() {
|
||||
'BulletedList', '-', 'Link', 'Unlink', 'Image',
|
||||
'JustifyLeft','JustifyCenter','JustifyRight',
|
||||
'JustifyBlock','Font','FontSize','-','TextColor',
|
||||
'BGColor','-','SpellChecker']
|
||||
'BGColor','-','SpellChecker','Scayt']
|
||||
],
|
||||
language : localeCode,
|
||||
scayt_sLang : localeCode
|
||||
@@ -513,12 +513,7 @@ function onRemoveAttachments() {
|
||||
list.removeChild(nodes[i]);
|
||||
}
|
||||
else {
|
||||
var filename = "";
|
||||
var childNodes = nodes[i].childNodes;
|
||||
for (var j = 0; j < childNodes.length; j++) {
|
||||
if (childNodes[j].nodeType == 3)
|
||||
filename += childNodes[j].nodeValue;
|
||||
}
|
||||
var filename = nodes[i].title;
|
||||
var url = "" + window.location;
|
||||
var parts = url.split("/");
|
||||
parts[parts.length-1] = "deleteAttachment?filename=" + encodeURIComponent(filename);
|
||||
|
||||
Reference in New Issue
Block a user