1
0
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:
Daniel Pan
2016-05-06 14:48:48 +08:00
parent ced2e1651b
commit 804695bbe2
5 changed files with 26 additions and 4 deletions

View File

@@ -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) {