mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 11:25:24 +00:00
@@ -1,6 +1,9 @@
|
||||
3.0.1 (2016-MM-DD)
|
||||
------------------
|
||||
|
||||
Enhancements
|
||||
- improved scrolling behavior when deleting a single message (#3489)
|
||||
|
||||
Bug fixes
|
||||
- fixed blank calendar view when selecting "Descending Order" in the sort menu
|
||||
- show active user's default email address instead of system email address (#3473)
|
||||
|
||||
@@ -192,6 +192,7 @@
|
||||
|
||||
if (index >= 0 && index < this.$messages.length) {
|
||||
message = this.$messages[index];
|
||||
this.$lastVisibleIndex = Math.max(0, index - 3); // Magic number is NUM_EXTRA from virtual-repeater.js
|
||||
|
||||
if (this.$loadMessage(message.uid))
|
||||
return message;
|
||||
|
||||
@@ -133,7 +133,10 @@
|
||||
try {
|
||||
if (nextMessage) {
|
||||
state.go('mail.account.mailbox.message', { messageId: nextMessage.uid });
|
||||
mailbox.$topIndex = nextIndex;
|
||||
if (nextIndex < mailbox.$topIndex)
|
||||
mailbox.$topIndex = nextIndex;
|
||||
else if (nextIndex > mailbox.$lastVisibleIndex)
|
||||
mailbox.$topIndex = nextIndex - (mailbox.$lastVisibleIndex - mailbox.$topIndex);
|
||||
}
|
||||
else {
|
||||
state.go('mail.account.mailbox');
|
||||
|
||||
Reference in New Issue
Block a user