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
pull/25/head
Daniel B. 2014-03-11 09:23:13 +01:00
parent cbd22762c3
commit af68f10115
1 changed files with 1 additions and 0 deletions

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];