mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
Small fixes
This commit is contained in:
parent
5b38b2c92c
commit
f5f067f1f3
11 changed files with 88 additions and 26 deletions
|
|
@ -630,7 +630,7 @@
|
|||
|
||||
MessageListMailBoxUserView.prototype.gotoThread = function (oMessage)
|
||||
{
|
||||
if (oMessage)
|
||||
if (oMessage && 0 < oMessage.threadsLen())
|
||||
{
|
||||
MessageStore.messageListPageBeforeThread(MessageStore.messageListPage());
|
||||
|
||||
|
|
@ -643,6 +643,13 @@
|
|||
}
|
||||
};
|
||||
|
||||
MessageListMailBoxUserView.prototype.clearListIsVisible = function ()
|
||||
{
|
||||
return '' === this.messageListSearchDesc() && '' === this.messageListError() &&
|
||||
'' === MessageStore.messageListEndThreadUid() &&
|
||||
0 < this.messageList().length && (this.isSpamFolder() || this.isTrashFolder());
|
||||
};
|
||||
|
||||
MessageListMailBoxUserView.prototype.onBuild = function (oDom)
|
||||
{
|
||||
var self = this;
|
||||
|
|
@ -671,6 +678,9 @@
|
|||
.on('click', '.messageList .messageListItem .threads-len', function () {
|
||||
self.gotoThread(ko.dataFor(this));
|
||||
})
|
||||
.on('dblclick', '.messageList .messageListItem .actionHandle', function () {
|
||||
self.gotoThread(ko.dataFor(this));
|
||||
})
|
||||
;
|
||||
|
||||
this.initUploaderForAppend();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue