2013-11-16 06:21:12 +08:00
|
|
|
/* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @constructor
|
|
|
|
* @extends AbstractSettings
|
|
|
|
*/
|
|
|
|
function SettingsScreen()
|
|
|
|
{
|
|
|
|
AbstractSettings.call(this, [
|
|
|
|
SettingsSystemDropDownViewModel,
|
|
|
|
SettingsMenuViewModel,
|
|
|
|
SettingsPaneViewModel
|
|
|
|
]);
|
|
|
|
|
|
|
|
Utils.initOnStartOrLangChange(function () {
|
|
|
|
this.sSettingsTitle = Utils.i18n('TITLES/SETTINGS');
|
|
|
|
}, this, function () {
|
|
|
|
RL.setTitle(this.sSettingsTitle);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
_.extend(SettingsScreen.prototype, AbstractSettings.prototype);
|
|
|
|
|
|
|
|
SettingsScreen.prototype.onShow = function ()
|
|
|
|
{
|
|
|
|
RL.setTitle(this.sSettingsTitle);
|
2014-04-12 09:05:57 +08:00
|
|
|
RL.data().keyScope(Enums.KeyState.Settings);
|
2013-11-16 06:21:12 +08:00
|
|
|
};
|