mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 07:41:26 +00:00
Fix group transfer
This commit is contained in:
@@ -160,7 +160,7 @@ define([
|
||||
if (!email) {
|
||||
return false;
|
||||
}
|
||||
if (email == _this.group.owner) {
|
||||
if (email == _this.groupView.group.owner) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -179,6 +179,7 @@ define([
|
||||
},
|
||||
success: function() {
|
||||
// after the transfer, the former owner becomes a common admin of the group.
|
||||
Common.feedback(gettext("Successfully transferred the group. You are now a normal member of the group."), 'success');
|
||||
$.modal.close();
|
||||
},
|
||||
error: function(xhr) {
|
||||
|
Reference in New Issue
Block a user