Merge pull request #25 from dani/master

Disable file paste support in mail editor
Fixes #2641
pull/26/head
Francis Lachapelle 2014-03-11 10:16:52 -04:00
commit 167a06e3e9
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];