mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-11-16 04:34:42 +08:00
06274c6a7c
Fixed owncloud password encoder/decoder (#291) Fixed ckeditor in ownCloud iframe (Closes #302) Release commit
48 lines
No EOL
936 B
JavaScript
48 lines
No EOL
936 B
JavaScript
|
|
(function () {
|
|
|
|
'use strict';
|
|
|
|
var
|
|
_ = require('_'),
|
|
|
|
Globals = require('Common/Globals'),
|
|
LinkBuilder = require('Common/LinkBuilder'),
|
|
|
|
kn = require('Knoin/Knoin'),
|
|
AbstractView = require('Knoin/AbstractView')
|
|
;
|
|
|
|
/**
|
|
* @param {?} oScreen
|
|
*
|
|
* @constructor
|
|
* @extends AbstractView
|
|
*/
|
|
function MenuSettingsAppView(oScreen)
|
|
{
|
|
AbstractView.call(this, 'Left', 'SettingsMenu');
|
|
|
|
this.leftPanelDisabled = Globals.leftPanelDisabled;
|
|
|
|
this.menu = oScreen.menu;
|
|
|
|
kn.constructorEnd(this);
|
|
}
|
|
|
|
kn.extendAsViewModel(['View/App/Settings/Menu', 'SettingsMenuViewModel'], MenuSettingsAppView);
|
|
_.extend(MenuSettingsAppView.prototype, AbstractView.prototype);
|
|
|
|
MenuSettingsAppView.prototype.link = function (sRoute)
|
|
{
|
|
return LinkBuilder.settings(sRoute);
|
|
};
|
|
|
|
MenuSettingsAppView.prototype.backToMailBoxClick = function ()
|
|
{
|
|
kn.setHash(LinkBuilder.inbox());
|
|
};
|
|
|
|
module.exports = MenuSettingsAppView;
|
|
|
|
}()); |