1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 15:38:15 +00:00

[share] share repo to group with 'admin' perm: fix

This commit is contained in:
llj
2017-09-05 16:07:09 +08:00
parent dd7f5d5417
commit 667afb6a59
6 changed files with 23 additions and 20 deletions

View File

@@ -848,8 +848,8 @@ define([
$add_item.after(new_item.el);
});
$groups_input.select2("val", "");
$('option', $perm).removeAttr('selected');
$('[value="rw"]', $perm).attr('selected', 'selected');
$('[value="r"]', $perm).removeAttr('selected');
$error.addClass('hide');
}
if (data.failed.length > 0) {