mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Cleanup Jua upload handler
This commit is contained in:
parent
9130da9dca
commit
7a0ec76d25
3 changed files with 46 additions and 120 deletions
|
|
@ -1045,9 +1045,6 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
attachmentSizeLimit = pInt(SettingsGet('AttachmentLimit'));
|
||||
|
||||
oJua
|
||||
// .on('onLimitReached', (limit) => {
|
||||
// alert(limit);
|
||||
// })
|
||||
.on('onDragEnter', () => {
|
||||
this.dragAndDropOver(true);
|
||||
})
|
||||
|
|
|
|||
|
|
@ -281,7 +281,6 @@ export class ContactsPopupView extends AbstractViewPopup {
|
|||
const j = new Jua({
|
||||
action: serverRequest('UploadContacts'),
|
||||
limit: 1,
|
||||
disableDocumentDropPrevent: true,
|
||||
clickElement: this.importButton()
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue