File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/assets/javascripts/discourse/controllers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -407,7 +407,7 @@ export default Ember.Controller.extend({
407407
408408 if ( currentTopic ) {
409409 buttons . push ( {
410- "label" : I18n . t ( "composer.reply_here" ) + "<br/><div class='topic-title overflow-ellipsis'>" + escapeExpression ( currentTopic . get ( 'title' ) ) + "</div>" ,
410+ "label" : I18n . t ( "composer.reply_here" ) + "<br/><div class='topic-title overflow-ellipsis'>" + currentTopic . get ( 'fancyTitle' ) + "</div>" ,
411411 "class" : "btn btn-reply-here" ,
412412 "callback" : function ( ) {
413413 composer . set ( 'topic' , currentTopic ) ;
@@ -418,7 +418,7 @@ export default Ember.Controller.extend({
418418 }
419419
420420 buttons . push ( {
421- "label" : I18n . t ( "composer.reply_original" ) + "<br/><div class='topic-title overflow-ellipsis'>" + escapeExpression ( this . get ( 'model.topic.title' ) ) + "</div>" ,
421+ "label" : I18n . t ( "composer.reply_original" ) + "<br/><div class='topic-title overflow-ellipsis'>" + this . get ( 'model.topic.fancyTitle' ) + "</div>" ,
422422 "class" : "btn-primary btn-reply-on-original" ,
423423 "callback" : function ( ) {
424424 self . save ( true ) ;
You can’t perform that action at this time.
0 commit comments