Skip to content
This repository has been archived by the owner on Jun 24, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: hopefully show „quote message“ button more often ;)
  • Loading branch information
Christian Kruse committed Mar 24, 2015
1 parent 23b6c59 commit 2b42299
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/cf_messages/new.html.erb
Expand Up @@ -35,7 +35,7 @@ content_for :h1, t('messages.new_answer_to', name: @parent.author)

<%= render "form", f: f %>

<% if @parent and @message.content.blank? %>
<% if @parent and not params.has_key?(:quote_old_message) %>
<script>
cforum.cf_messages.quotedMessage = <%== @parent.to_quote(self).to_json %>;
</script>
Expand Down

0 comments on commit 2b42299

Please sign in to comment.