|
|
|
@ -7916,7 +7916,8 @@ function rcube_webmail()
|
|
|
|
|
var submit_data = function() {
|
|
|
|
|
var multiple = files.length > 1,
|
|
|
|
|
ts = new Date().getTime(),
|
|
|
|
|
content = '<span>' + (multiple ? ref.get_label('uploadingmany') : files[0].name) + '</span>';
|
|
|
|
|
// jQuery way to escape filename (#1490530)
|
|
|
|
|
content = $('<span>').text(multiple ? ref.get_label('uploadingmany') : files[0].name).html();
|
|
|
|
|
|
|
|
|
|
// add to attachments list
|
|
|
|
|
if (!ref.add2attachment_list(ts, { name:'', html:content, classname:'uploading', complete:false }))
|
|
|
|
|