From 433e8ea123388c182c581e7a57ebb81248dec02a Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 21 Jun 2016 21:46:27 +0200 Subject: Disable drop zone Otherwise dropping something somewhere can by mistake upload the file and make it available --- apps/theming/js/settings-admin.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/theming/js/settings-admin.js') 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); -- cgit v1.2.3