mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-08 13:27:15 +00:00
(js) Fix selection of search results in Webmail
When performing a search from the special router state "mail.account.inbox", the first selection was changing the state name and resetting the search. The special "inbox" state will now force a URL change to avoid this problem.
This commit is contained in:
1 parent
599264b3d9
commit
72a38c51b4
2 files changed
+7
-18
No files matched your search
@@ -40,7 +40,7 @@
|
||||
if (Mailbox.$virtualMode)
|
||||
$state.go('mail.account.virtualMailbox.message', {accountId: stateAccount.id, mailboxId: encodeUriFilter(message.$mailbox.path), messageId: message.uid});
|
||||
else
|
||||
$state.go('mail.account.mailbox.message', {accountId: stateAccount.id, mailboxId: encodeUriFilter(message.$mailbox.path), messageId: message.uid});
|
||||
$state.go('mail.account.mailbox.message', {messageId: message.uid});
|
||||
}
|
||||
|
||||
function toggleMessageSelection($event, message) {
|
||||
|
||||
Reference in new issue
Block a user