mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Bugfix: rl.app.setExpandedFolder() undefined
This commit is contained in:
parent
661cd2aaf9
commit
bb4ff4fdc7
3 changed files with 22 additions and 24 deletions
3
dev/External/User/ko.js
vendored
3
dev/External/User/ko.js
vendored
|
|
@ -7,6 +7,7 @@ import { isArray } from 'Common/Utils';
|
|||
import { EmailAddressesComponent } from 'Component/EmailAddresses';
|
||||
import { ThemeStore } from 'Stores/Theme';
|
||||
import { moveMessagesToFolder } from 'Common/Folders';
|
||||
import { setExpandedFolder } from 'Model/FolderCollection';
|
||||
|
||||
const rlContentType = 'snappymail/action',
|
||||
|
||||
|
|
@ -133,7 +134,7 @@ ko.bindingHandlers.dropmessages = {
|
|||
if (folder && folder.collapsed()) {
|
||||
dragTimer.start(() => {
|
||||
folder.collapsed(false);
|
||||
rl.app.setExpandedFolder(folder.fullName, true);
|
||||
setExpandedFolder(folder.fullName, true);
|
||||
}, 500);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue