We can simply disable that like this:
$("#fileupload").fileupload({
pasteZone: null //make it $(document) or specific container for enabling it
})
Question
When even I paste any image(on a text input box for example), it is getting uploaded by jquery file uploader.
So, how to stop this?
From the options page(https://github.com/blueimp/jQuery-File-Upload/wiki/Options), the event that is triggered after paste is 'fileuploadpaste'.
Normal jquery event fired after text paste is 'textInput'.
So, how to disable this upload ?
Solution
We can simply disable that like this:
$("#fileupload").fileupload({
pasteZone: null //make it $(document) or specific container for enabling it
})