Merge pull request #838 from ZogStriP/fix-user-education-displays-object-ojects
FIX: user education displays [object Object]
This commit is contained in:
commit
8782038b20
|
@ -133,7 +133,7 @@ Discourse.ComposerController = Discourse.Controller.extend({
|
|||
var educationKey = this.get('content.creatingTopic') ? 'new-topic' : 'new-reply';
|
||||
var composerController = this;
|
||||
Discourse.ajax("/education/" + educationKey).then(function(result) {
|
||||
composerController.set('educationContents', result);
|
||||
composerController.set('educationContents', result.responseText);
|
||||
});
|
||||
}.observes('typedReply', 'content.creatingTopic', 'Discourse.currentUser.reply_count'),
|
||||
|
||||
|
|
Loading…
Reference in New Issue