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:
Francis Lachapelle
2012-02-03 18:44:02 +00:00
parent d065753619
commit c91b970f40
2 changed files with 9 additions and 7 deletions
+7
View File
@@ -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
+2 -7
View File
@@ -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);