diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-06-21 21:46:27 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-06-27 10:26:23 +0200 |
commit | 433e8ea123388c182c581e7a57ebb81248dec02a (patch) | |
tree | 0438a7c488dc81cd5e8460798582a4a3cb1a8aa6 /apps/theming/js/settings-admin.js | |
parent | a0e92b5fb0a7eebe66c09c880648f8ad48052468 (diff) | |
download | nextcloud-server-433e8ea123388c182c581e7a57ebb81248dec02a.tar.gz nextcloud-server-433e8ea123388c182c581e7a57ebb81248dec02a.zip |
Disable drop zone
Otherwise dropping something somewhere can by mistake upload the file and make it available
Diffstat (limited to 'apps/theming/js/settings-admin.js')
-rw-r--r-- | apps/theming/js/settings-admin.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/theming/js/settings-admin.js b/apps/theming/js/settings-admin.js index 1acd6a97e96..8ce76a2ccf2 100644 --- a/apps/theming/js/settings-admin.js +++ b/apps/theming/js/settings-admin.js @@ -52,6 +52,7 @@ $(document).ready(function () { var uploadParamsLogo = { pasteZone: null, + dropZone: null, done: function (e, response) { preview('logoMime', response.result.data.name); OC.msg.finishedSaving('#theming_settings_msg', response.result); @@ -65,6 +66,7 @@ $(document).ready(function () { }; var uploadParamsLogin = { pasteZone: null, + dropZone: null, done: function (e, response) { preview('backgroundMime', response.result.data.name); OC.msg.finishedSaving('#theming_settings_msg', response.result); |