Permalink
Browse files

Fix forum post create RJS by adding id='posts' to tableelement.

  • Loading branch information...
1 parent 5633b48 commit eef9b6b8ec4e8eecf0bc0914499d3acbb38bdce8 @jtgeibel jtgeibel committed Nov 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/topics/show.html.haml
View
2 app/views/topics/show.html.haml
@@ -67,7 +67,7 @@
%a{"name"=>"#{@posts.to_a.first.dom_id}", "id"=>"#{@posts.to_a.first.dom_id}"}  
%br.clear
%br
- %table.posts.wide{"cellspacing"=>"0", "border"=>"0", "cellpadding"=>"0"}
+ %table.posts.wide#posts{"cellspacing"=>"0", "border"=>"0", "cellpadding"=>"0"}
- for post in @posts do
=render :partial => 'sb_posts/sb_post', :locals => {:post => post}

0 comments on commit eef9b6b

Please sign in to comment.