mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-29 19:12:26 +08:00
23 lines
466 B
JavaScript
23 lines
466 B
JavaScript
/* RainLoop Webmail (c) RainLoop Team | Licensed under CC BY-NC-SA 3.0 */
|
|
|
|
/**
|
|
* @param {?} oScreen
|
|
*
|
|
* @constructor
|
|
* @extends KnoinAbstractViewModel
|
|
*/
|
|
function AdminMenuViewModel(oScreen)
|
|
{
|
|
KnoinAbstractViewModel.call(this, 'Left', 'AdminMenu');
|
|
|
|
this.menu = oScreen.menu;
|
|
|
|
Knoin.constructorEnd(this);
|
|
}
|
|
|
|
Utils.extendAsViewModel('AdminMenuViewModel', AdminMenuViewModel);
|
|
|
|
AdminMenuViewModel.prototype.link = function (sRoute)
|
|
{
|
|
return '#/' + sRoute;
|
|
};
|