From b6f9dcdf7497445756caed390cd07d9fcafb635d Mon Sep 17 00:00:00 2001
From: Arjun Singh
Date: Fri, 14 Sep 2012 01:25:02 -0700
Subject: [PATCH] fix inline closed threads
---
.../discussion/views/discussion_thread_view_inline.coffee | 1 +
.../discussion/mustache/_inline_thread_show.mustache | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/lms/static/coffee/src/discussion/views/discussion_thread_view_inline.coffee b/lms/static/coffee/src/discussion/views/discussion_thread_view_inline.coffee
index ede3ea65ee..7dab9ae342 100644
--- a/lms/static/coffee/src/discussion/views/discussion_thread_view_inline.coffee
+++ b/lms/static/coffee/src/discussion/views/discussion_thread_view_inline.coffee
@@ -104,6 +104,7 @@ if Backbone?
@$el.find('.collapse-post').css('display', 'block')
@$el.find('.post-extended-content').show()
@makeWmdEditor "reply-body"
+ @renderAttrs()
if @$el.find('.loading').length
@renderResponses()
diff --git a/lms/templates/discussion/mustache/_inline_thread_show.mustache b/lms/templates/discussion/mustache/_inline_thread_show.mustache
index 347a78ecc4..f844b7c12c 100644
--- a/lms/templates/discussion/mustache/_inline_thread_show.mustache
+++ b/lms/templates/discussion/mustache/_inline_thread_show.mustache
@@ -13,9 +13,9 @@
{{created_at}}
-
- • This thread is closed.
-
+
+ • This thread is closed.
+
{{abbreviatedBody}}