search for: comment_body_21_in_place_editor

Displaying 1 result from an estimated 1 matches for "comment_body_21_in_place_editor".

2005 Nov 14
0
in_place_editor_field inside a partial collection
...uot; tag="span"></span><script type="text/javascript"> //<![CDATA[ new Ajax.InPlaceEditor(''comment_body__in_place_editor'', ''/article/set_comment_body'') //]]> </script> .... [comment_body__in_place_editor] should be [comment_body_21_in_place_editor]. Apparently, the id is not set properly. More odd thing is that when a comment is added using AJAX, above code is working again. I also tried to include :id as follows: <%= in_place_editor_field :comment, :body, { :id => comment.id } %> But in this case, [comment_body__in_place_editor]...