summaryrefslogtreecommitdiffstats
path: root/apps/theming
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-06-21 21:46:27 +0200
committerLukas Reschke <lukas@owncloud.com>2016-06-27 10:26:23 +0200
commit433e8ea123388c182c581e7a57ebb81248dec02a (patch)
tree0438a7c488dc81cd5e8460798582a4a3cb1a8aa6 /apps/theming
parenta0e92b5fb0a7eebe66c09c880648f8ad48052468 (diff)
downloadnextcloud-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')
-rw-r--r--apps/theming/js/settings-admin.js2
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);