mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 07:08:55 +00:00
[group setting, group wiki] bugfix, modification
This commit is contained in:
@@ -26,7 +26,6 @@ define([
|
||||
'group/:group_id/': 'showGroupRepos',
|
||||
'group/:group_id/lib/:repo_id(/*path)': 'showGroupRepoDir',
|
||||
'group/:group_id/members/': 'showGroupMembers',
|
||||
'group/:group_id/settings/': 'showGroupSettings',
|
||||
'org/': 'showOrgRepos',
|
||||
'org/lib/:repo_id(/*path)': 'showOrgRepoDir',
|
||||
'common/lib/:repo_id(/*path)': 'showCommonDir',
|
||||
@@ -190,11 +189,6 @@ define([
|
||||
this.groupView.showMembers();
|
||||
},
|
||||
|
||||
showGroupSettings: function(group_id) {
|
||||
this.showGroupRepos(group_id);
|
||||
this.groupView.showSettings();
|
||||
},
|
||||
|
||||
showOrgRepos: function() {
|
||||
this.switchCurrentView(this.orgView);
|
||||
this.orgView.showRepoList();
|
||||
|
@@ -77,12 +77,10 @@ define([
|
||||
this.$el.show();
|
||||
this.render();
|
||||
this.setConMaxHeight();
|
||||
app.router.navigate('group/' + this.group.id + '/settings/');
|
||||
},
|
||||
|
||||
hide: function() {
|
||||
this.$el.hide();
|
||||
app.router.navigate('group/' + this.group.id + '/');
|
||||
},
|
||||
|
||||
highlightItem: function(e) {
|
||||
|
Reference in New Issue
Block a user