fix the build

This commit is contained in:
Régis Hanol 2015-04-03 17:09:51 +02:00
parent 3bae2cca4d
commit 7602353209
1 changed files with 2 additions and 1 deletions

View File

@ -48,7 +48,8 @@ export default Em.ObjectController.extend({
}, },
removeMember(member) { 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) { return bootbox.confirm(message, I18n.t("no_value"), I18n.t("yes_value"), function(confirm) {
if (confirm) { if (confirm) {
self.get("model").removeMember(member); self.get("model").removeMember(member);