1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-19 01:44:13 +00:00

[groups] use new collection url

This commit is contained in:
llj
2015-12-02 11:25:11 +08:00
parent 1c18e3e716
commit 51b44c40a3
5 changed files with 4 additions and 107 deletions

View File

@@ -31,7 +31,7 @@ define([
return Common.compareTwoWord(a.name, b.name);
});
var group_id = this.model.get('id'),
is_staff = this.model.get('is_staff'),
is_staff = $.inArray(app.pageOptions.username, this.model.get('admins')) != -1 ? true : false,
$listContainer = this.$('tbody');
var groupRepos = new GroupRepos();
groupRepos.setGroupID(group_id);