mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-31 14:42:10 +00:00
[group discuss] bugfix
This commit is contained in:
@@ -21,7 +21,7 @@ define([
|
||||
'shared-libs/': 'showSharedRepos',
|
||||
'shared-libs/lib/:repo_id(/*path)': 'showSharedRepoDir',
|
||||
'groups/': 'showGroups',
|
||||
'group/:group_id/': 'showGroupRepos',
|
||||
'group/:group_id/': 'showGroup',
|
||||
'group/:group_id/lib/:repo_id(/*path)': 'showGroupRepoDir',
|
||||
'group/:group_id/members/': 'showGroupMembers',
|
||||
'group/:group_id/discussions/': 'showGroupDiscussions',
|
||||
@@ -153,9 +153,9 @@ define([
|
||||
});
|
||||
},
|
||||
|
||||
showGroupRepos: function(group_id) {
|
||||
showGroup: function(group_id, options) {
|
||||
this.switchCurrentView(this.groupView);
|
||||
this.groupView.showRepoList(group_id);
|
||||
this.groupView.showRepoList(group_id, options);
|
||||
this.sideNavView.setCurTab('group', {
|
||||
'cur_group_tab': '',
|
||||
'cur_group_id': group_id
|
||||
@@ -177,13 +177,12 @@ define([
|
||||
},
|
||||
|
||||
showGroupMembers: function(group_id) {
|
||||
this.showGroupRepos(group_id);
|
||||
this.showGroup(group_id);
|
||||
this.groupView.showMembers();
|
||||
},
|
||||
|
||||
showGroupDiscussions: function(group_id) {
|
||||
this.showGroupRepos(group_id);
|
||||
this.groupView.showDiscussions();
|
||||
this.showGroup(group_id, {showDiscussions: true});
|
||||
},
|
||||
|
||||
showOrgRepos: function() {
|
||||
|
Reference in New Issue
Block a user