This commit is contained in:
@@ -1086,7 +1086,7 @@ function ADDropzone(txtid) {
|
||||
document.getElementById(txtid + '-paste').onpaste = function (event) {
|
||||
var __This = myDropzone;
|
||||
var objfiles = JSON.parse(TxtField.val());
|
||||
if (objfiles.length < maxFile) {
|
||||
if ((maxFile != null) || (maxFile < 1) || objfiles.length < maxFile) {
|
||||
// use event.originalEvent.clipboard for newer chrome versions
|
||||
var items = (event.clipboardData || event.originalEvent.clipboardData).items;
|
||||
//console.log(JSON.stringify(items)); // will give you the mime types
|
||||
|
||||
Reference in New Issue
Block a user