1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 22:54:11 +00:00

bugfix for 'dir view', modified grp-repo-tmpl

This commit is contained in:
llj
2015-04-17 18:07:17 +08:00
committed by Daniel Pan
parent cfad7ef7d4
commit 816960b129
6 changed files with 24 additions and 24 deletions

View File

@@ -6,9 +6,10 @@ define([
'app/views/myhome',
'app/views/group',
'app/views/organization',
'app/views/dir',
'app/views/top-group-nav'
], function($, Backbone, Common, MyHomeView, GroupView, OrgView,
GroupNavView) {
DirView, GroupNavView) {
"use strict";
var Router = Backbone.Router.extend({
@@ -35,9 +36,11 @@ define([
Common.initNoticePopup();
Common.getContacts();
this.myHomeView = new MyHomeView();
this.groupView = new GroupView();
this.orgView = new OrgView();
this.dirView = new DirView();
this.myHomeView = new MyHomeView({dirView: this.dirView});
this.groupView = new GroupView({dirView: this.dirView});
this.orgView = new OrgView({dirView: this.dirView});
this.currentView = this.myHomeView;