From ccb715fba38edf286edfafd149395ce11945d693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Sun, 3 Mar 2013 19:21:29 +0100 Subject: [PATCH] update both the title & the category when editing the first post using the "edit this post" action beneath the post. --- .../javascripts/discourse/templates/topic.js.handlebars | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/topic.js.handlebars b/app/assets/javascripts/discourse/templates/topic.js.handlebars index 419fbb91495..6d9e1cc47ee 100644 --- a/app/assets/javascripts/discourse/templates/topic.js.handlebars +++ b/app/assets/javascripts/discourse/templates/topic.js.handlebars @@ -17,7 +17,7 @@

{{#if view.topic.fancy_title}} {{view Discourse.TopicStatusView topicBinding="view.topic"}} - {{{unbound view.topic.fancy_title}}} + {{{view.topic.fancy_title}}} {{else}} {{#if view.topic.errorLoading}} {{view.topic.errorTitle}} @@ -25,7 +25,7 @@ {{i18n topic.loading}} {{/if}} {{/if}} - {{categoryLink view.topic.category}} + {{#bind view.topic.category}}{{categoryLink this}}{{/bind}} {{#if view.topic.can_edit}}