1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

[groups] removed 'sideTips', use 'side nav'

This commit is contained in:
llj
2015-12-04 17:26:04 +08:00
parent 25c07a916e
commit 2b9923c700
5 changed files with 9 additions and 39 deletions

View File

@@ -149,12 +149,19 @@ define([
showGroups: function () {
this.switchCurrentView(this.groupsView);
this.groupsView.show();
this.sideNavView.setCurTab('group', {
'cur_group_tab': 'groups',
'cur_group_id': ''
});
},
showGroupRepos: function(group_id) {
this.switchCurrentView(this.groupView);
this.groupView.showRepoList(group_id);
this.sideNavView.setCurTab('group', {'cur_group_id': group_id});
this.sideNavView.setCurTab('group', {
'cur_group_tab': '',
'cur_group_id': group_id
});
},
showGroupRepoDir: function(group_id, repo_id, path) {