1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 17:33:18 +00:00

filter out address book group when: (#2092)

1. share library/folder
2. set folder permission
This commit is contained in:
lian
2018-05-07 19:24:58 -07:00
committed by xiez
parent 862192514c
commit 1fd1f43177
8 changed files with 19 additions and 8 deletions

View File

@@ -102,7 +102,7 @@ define([
placeholder: gettext("Search user or enter email and press Enter") // to override 'placeholder' returned by `Common.conta...`
}));
} else {
var groups = app.pageOptions.groups || [];
var groups = app.pageOptions.joined_groups_exclude_address_book || [];
var g_opts = '';
for (var i = 0, len = groups.length; i < len; i++) {
g_opts += '<option value="' + groups[i].id + '" data-index="' + i + '">' + groups[i].name + '</option>';