Displaying 1 result from an estimated 1 matches for "set_comment_body".
Did you mean:
new_comment_body
2005 Nov 14
0
in_place_editor_field inside a partial collection
...21">
<span class="in_place_editor_field" id="comment_body__in_place_editor"
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_...