1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 14:42:10 +00:00

Fix system admin

This commit is contained in:
Daniel Pan
2016-04-29 10:19:28 +08:00
parent 8108965cf5
commit 092950f802
6 changed files with 52 additions and 42 deletions

View File

@@ -7,9 +7,11 @@ define([
'sysadmin-app/views/dashboard',
'sysadmin-app/views/desktop-devices',
'sysadmin-app/views/mobile-devices',
'sysadmin-app/views/device-errors'
'sysadmin-app/views/device-errors',
'app/views/account'
], function($, Backbone, Common, SideNavView, DashboardView,
DesktopDevicesView, MobileDevicesView, DeviceErrorsView) {
DesktopDevicesView, MobileDevicesView, DeviceErrorsView,
AccountView) {
"use strict";
var Router = Backbone.Router.extend({
@@ -39,6 +41,8 @@ define([
this.mobileDevicesView = new MobileDevicesView();
this.deviceErrorsView = new DeviceErrorsView();
app.ui.accountView = this.accountView = new AccountView();
this.currentView = this.dashboardView;
$('#info-bar .close').click(Common.closeTopNoticeBar);