From d60f53c074f9595af54e35438154e46136c2e0ad Mon Sep 17 00:00:00 2001 From: Sebastian Tschan Date: Thu, 18 Sep 2014 11:40:16 +0100 Subject: [PATCH] Disable the pasteZone by default. Closes #3356 --- js/jquery.fileupload.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/jquery.fileupload.js b/js/jquery.fileupload.js index 57653af60..a4cfdc0ac 100644 --- a/js/jquery.fileupload.js +++ b/js/jquery.fileupload.js @@ -1,5 +1,5 @@ /* - * jQuery File Upload Plugin 5.41.1 + * jQuery File Upload Plugin 5.42.0 * https://github.com/blueimp/jQuery-File-Upload * * Copyright 2010, Sebastian Tschan @@ -84,9 +84,9 @@ // The drop target element(s), by the default the complete document. // Set to null to disable drag & drop support: dropZone: $(document), - // The paste target element(s), by the default the complete document. - // Set to null to disable paste support: - pasteZone: $(document), + // The paste target element(s), by the default undefined. + // Set to a DOM node or jQuery object to enable file pasting: + pasteZone: undefined, // The file input field(s), that are listened to for change events. // If undefined, it is set to the file input fields inside // of the widget element on plugin initialization.