Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2016-06-21 22:46:27 +0300
committerLukas Reschke <lukas@owncloud.com>2016-06-27 11:26:23 +0300
commit433e8ea123388c182c581e7a57ebb81248dec02a (patch)
tree0438a7c488dc81cd5e8460798582a4a3cb1a8aa6 /apps/theming/js
parenta0e92b5fb0a7eebe66c09c880648f8ad48052468 (diff)
Disable drop zone
Otherwise dropping something somewhere can by mistake upload the file and make it available
Diffstat (limited to 'apps/theming/js')
-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);