From e87ffcc4574742347ec2d3842e063fa5cbff90d2 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 14 Aug 2015 10:40:35 +1000 Subject: [PATCH] missing model prefix for saving title --- .../javascripts/admin/controllers/admin-user-index.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/admin/controllers/admin-user-index.js.es6 b/app/assets/javascripts/admin/controllers/admin-user-index.js.es6 index cf6719ac83..fdea272ab1 100644 --- a/app/assets/javascripts/admin/controllers/admin-user-index.js.es6 +++ b/app/assets/javascripts/admin/controllers/admin-user-index.js.es6 @@ -37,7 +37,7 @@ export default Ember.Controller.extend(CanCheckEmails, { const self = this; return Discourse.ajax("/users/" + this.get('model.username').toLowerCase(), { - data: {title: this.get('title')}, + data: {title: this.get('model.title')}, type: 'PUT' }).catch(function(e) { bootbox.alert(I18n.t("generic_error_with_reason", {error: "http: " + e.status + " - " + e.body}));