From 6710637904922a806b638b0324b0f55734a6e742 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Tue, 15 Jul 2014 15:35:16 +0200 Subject: [PATCH] renamed --- .../javascripts/admin/components/admin-group-selector.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/admin/components/admin-group-selector.js.es6 b/app/assets/javascripts/admin/components/admin-group-selector.js.es6 index c78f1ff8992..08bcc619f48 100644 --- a/app/assets/javascripts/admin/components/admin-group-selector.js.es6 +++ b/app/assets/javascripts/admin/components/admin-group-selector.js.es6 @@ -26,14 +26,14 @@ export default Ember.Component.extend({ this.set("available", groups.filterBy("automatic", false)); }.bind(this)); - this.refreshOnReset(); + this._refreshOnReset(); }, _format: function(item){ return {"text": item.name, "id": item.id, "locked": item.automatic}; }, - refreshOnReset: function() { + _refreshOnReset: function() { this.$("input").select2("data", this.get("selected").map(this._format)); }.observes("selected") }); \ No newline at end of file