fix the build

This commit is contained in:
Régis Hanol 2015-04-03 17:09:51 +02:00
parent 3bae2cca4d
commit 7602353209

View file

@ -48,7 +48,8 @@ export default Em.ObjectController.extend({
},
removeMember(member) {
const message = I18n.t("admin.groups.delete_member_confirm", { username: member.get("username"), group: this.get("name") });
const self = this,
message = I18n.t("admin.groups.delete_member_confirm", { username: member.get("username"), group: this.get("name") });
return bootbox.confirm(message, I18n.t("no_value"), I18n.t("yes_value"), function(confirm) {
if (confirm) {
self.get("model").removeMember(member);