Skip to content

Commit

Permalink
Merge pull request #642 from kabalin/pastezone
Browse files Browse the repository at this point in the history
Disable image from clipboard paste in file upload.
  • Loading branch information
kabalin authored Dec 1, 2023
2 parents bbb2ecc + d2a99fa commit c129b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/module/user/photoUpload.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ define(['underscore', 'Browser', 'Utils', 'socket!', 'Params', 'knockout', 'knoc
this.$fileupload.fileupload('option', {
url: '/upload',
dropZone: $(document), //this.$dom.find('.addfiles_area'),
pasteZone: $(document),
pasteZone: null,
singleFileUploads: true,
sequentialUploads: false,
limitConcurrentUploads: 3,
Expand Down

0 comments on commit c129b0b

Please sign in to comment.