Small fixes

This commit is contained in:
RainLoop Team
2013-12-13 03:23:47 +04:00
parent ff8ef2012b
commit c9b5194baf
33 changed files with 296 additions and 58 deletions

View File

@@ -62,6 +62,11 @@ function MailBoxMessageViewViewModel()
// TODO
window.console.log(arguments);
}, this.messageVisibility);
this.spamCommand = Utils.createCommand(this, function () {
// TODO
window.console.log(arguments);
}, this.messageVisibility);
// viewer
this.viewSubject = ko.observable('');
@@ -147,6 +152,14 @@ function MailBoxMessageViewViewModel()
this.scrollMessageToTop();
}, this);
this.goUpCommand = Utils.createCommand(this, function () {
RL.pub('mailbox.message-list.selector.go-up');
});
this.goDownCommand = Utils.createCommand(this, function () {
RL.pub('mailbox.message-list.selector.go-down');
});
Knoin.constructorEnd(this);
}