snappymail/dev/Screens/AdminSettingsScreen.js

38 lines
796 B
JavaScript
Raw Normal View History

/* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */
2014-08-25 15:10:51 +08:00
'use strict';
2014-08-20 23:03:12 +08:00
(function (module) {
var
2014-08-21 23:08:34 +08:00
_ = require('../External/underscore.js'),
2014-08-22 23:08:56 +08:00
AbstractSettings = require('./AbstractSettings.js')
2014-08-20 23:03:12 +08:00
;
/**
* @constructor
* @extends AbstractSettings
*/
function AdminSettingsScreen()
{
2014-08-22 23:08:56 +08:00
var
AdminMenuViewModel = require('../ViewModels/AdminMenuViewModel.js'),
AdminPaneViewModel = require('../ViewModels/AdminPaneViewModel.js')
;
2014-08-25 15:10:51 +08:00
2014-08-20 23:03:12 +08:00
AbstractSettings.call(this, [
AdminMenuViewModel,
AdminPaneViewModel
]);
}
_.extend(AdminSettingsScreen.prototype, AbstractSettings.prototype);
AdminSettingsScreen.prototype.onShow = function ()
{
2014-08-22 23:08:56 +08:00
var RL = require('../Boots/AdminApp.js');
RL.setTitle('');
2014-08-20 23:03:12 +08:00
};
module.exports = AdminSettingsScreen;
}(module));