Disabling the pasteZone support (which only works in Chrome or Opera anyway) fixes the problem of unwanted PNG attachment when you paste the recipient list from Excel
This commit is contained in:
Daniel B. 2014-03-11 09:23:13 +01:00
parent cbd22762c3
commit af68f10115

View file

@ -417,6 +417,7 @@ function configureAttachments() {
// With singleFileUploads option enabled, the 'add' and 'done' (or 'fail') callbacks
// are called once for each file in the selection for XHR file uploads
singleFileUploads: true,
pasteZone: null,
dataType: 'json',
add: function (e, data) {
var file = data.files[0];