mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Bugfix: when left panel disabled and dragstart messages, show panel
This commit is contained in:
parent
1032d0eb45
commit
434ac21103
7 changed files with 21 additions and 18 deletions
9
dev/External/User/ko.js
vendored
9
dev/External/User/ko.js
vendored
|
|
@ -3,7 +3,7 @@ import ko from 'ko';
|
|||
import { HtmlEditor } from 'Common/Html';
|
||||
import { timeToNode } from 'Common/Translator';
|
||||
import { doc, elementById, addEventsListeners, dropdowns } from 'Common/Globals';
|
||||
import { dropdownsDetectVisibility } from 'Common/UtilsUser';
|
||||
import { dropdownsDetectVisibility, moveAction } from 'Common/UtilsUser';
|
||||
import { EmailAddressesComponent } from 'Component/EmailAddresses';
|
||||
import { ThemeStore } from 'Stores/Theme';
|
||||
import { moveMessagesToFolder, dropFilesInFolder } from 'Common/Folders';
|
||||
|
|
@ -144,12 +144,17 @@ Object.assign(ko.bindingHandlers, {
|
|||
|
||||
// Remove the Chrome visibility
|
||||
dragImage.style.cssText = '';
|
||||
|
||||
moveAction(true);
|
||||
} else {
|
||||
e.preventDefault();
|
||||
}
|
||||
|
||||
}, false);
|
||||
element.addEventListener("dragend", () => dragData = null);
|
||||
element.addEventListener("dragend", () => {
|
||||
dragData = null;
|
||||
moveAction(false);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue