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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user