mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-11 00:08:51 +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:
@@ -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