From 76023532093ad5fb7d7da2737fec0d733121f9b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Fri, 3 Apr 2015 17:09:51 +0200 Subject: [PATCH] fix the build --- app/assets/javascripts/admin/controllers/admin-group.js.es6 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/admin/controllers/admin-group.js.es6 b/app/assets/javascripts/admin/controllers/admin-group.js.es6 index 8507818dfdb..d0332e8207f 100644 --- a/app/assets/javascripts/admin/controllers/admin-group.js.es6 +++ b/app/assets/javascripts/admin/controllers/admin-group.js.es6 @@ -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);