summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-03-23 09:03:50 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-03-23 09:03:50 +0100
commita25872e0349c3c93a5dea6ce0050f3db207c8dce (patch)
treeadc9da72f8d2fa0d066a2e344ec13fb3f24fe76f /settings
parentabcee56fe39f55d2071a192543a12376f9dd6d54 (diff)
parentf8ae1bb36e59d1110db24a3fdc5079daa97f3753 (diff)
downloadnextcloud-server-a25872e0349c3c93a5dea6ce0050f3db207c8dce.tar.gz
nextcloud-server-a25872e0349c3c93a5dea6ce0050f3db207c8dce.zip
Merge pull request #23495 from owncloud/disable-paste-zone
Disable pastezone for jquery.fileupload
Diffstat (limited to 'settings')
-rw-r--r--settings/js/certificates.js1
-rw-r--r--settings/js/personal.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/settings/js/certificates.js b/settings/js/certificates.js
index 9ce9f9aa8d8..f2a8e6b0afb 100644
--- a/settings/js/certificates.js
+++ b/settings/js/certificates.js
@@ -16,6 +16,7 @@ $(document).ready(function () {
$('#sslCertificate tr > td').tipsy({gravity: 'n', live: true});
$('#rootcert_import').fileupload({
+ pasteZone: null,
submit: function (e, data) {
data.formData = _.extend(data.formData || {}, {
requesttoken: OC.requestToken
diff --git a/settings/js/personal.js b/settings/js/personal.js
index 3b2316d0614..bd13b7fd251 100644
--- a/settings/js/personal.js
+++ b/settings/js/personal.js
@@ -244,6 +244,7 @@ $(document).ready(function () {
});
var uploadparms = {
+ pasteZone: null,
done: function (e, data) {
var response = data;
if (typeof data.result === 'string') {