mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-29 19:12:26 +08:00
0fad66c452
Folder list focused state
32 lines
687 B
JavaScript
32 lines
687 B
JavaScript
/* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */
|
|
|
|
/**
|
|
* @constructor
|
|
* @extends KnoinAbstractViewModel
|
|
*/
|
|
function SettingsPaneViewModel()
|
|
{
|
|
KnoinAbstractViewModel.call(this, 'Right', 'SettingsPane');
|
|
|
|
Knoin.constructorEnd(this);
|
|
}
|
|
|
|
Utils.extendAsViewModel('SettingsPaneViewModel', SettingsPaneViewModel);
|
|
|
|
SettingsPaneViewModel.prototype.onBuild = function ()
|
|
{
|
|
var self = this;
|
|
key('esc', Enums.KeyState.Settings, function () {
|
|
self.backToMailBoxClick();
|
|
});
|
|
};
|
|
|
|
SettingsPaneViewModel.prototype.onShow = function ()
|
|
{
|
|
RL.data().message(null);
|
|
};
|
|
|
|
SettingsPaneViewModel.prototype.backToMailBoxClick = function ()
|
|
{
|
|
kn.setHash(RL.link().inbox());
|
|
};
|