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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user