mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 21:15:56 +03:00
[PR #461] [MERGED] fix copy/move folder list when checking a message from the list before all sources have loaded #825
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#825
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cypht-org/cypht/pull/461
Author: @kroky
Created: 3/25/2021
Status: ✅ Merged
Merged: 4/1/2021
Merged by: @jasonmunro
Base:
master← Head:bugfix/checkbox-move📝 Commits (1)
f829bc0fix copy/move folder list when checking a message from the list before all sources have loaded📊 Changes
1 file changed (+2 additions, -2 deletions)
View changed files
📝
modules/imap/site.js(+2 -2)📄 Description
Case: you have multiple imap sources. Nothing is cached in local browser's session cache. Click Everything (combined inbox). Check a message while sources are loaded (one or two have loaded but the rest have not).
Result: Copy/Move buttons are disabled and no folders appear inside.
This PR fixes the issue by attaching the event handles to the body.
However, there is a deeper issue I was not able to resolve. When a checkbox is checked while other sources are loading, Hm_Ajax.abort flag is set and the rest of the sources never complete loading - their results don't appear in the combined inbox. Even if you reload via the refresh button at the top, the results don't appear until you deselect all checkboxes. Is there a reason why further ajax calls are aborted if a checkbox is checked? I think we should still process their results as they were queued and it doesn't matter if user clicks something quickly or not. @jasonmunro let me know your thoughts here.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.