Disable drop zone

Otherwise dropping something somewhere can by mistake upload the file and make it available
This commit is contained in:
Lukas Reschke 2016-06-21 21:46:27 +02:00
parent a0e92b5fb0
commit 433e8ea123
1 changed files with 2 additions and 0 deletions

View File

@ -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);