mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Disable drop zone
Otherwise dropping something somewhere can by mistake upload the file and make it available
This commit is contained in:
parent
a0e92b5fb0
commit
433e8ea123
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue