_create_discussion_note.js.haml 297 Bytes Edit Raw Blame History 1 2 3 4 5 - if note.valid? :plain NoteList.appendNewDiscussionNote("#{note.discussion_id}", "#{escape_javascript(render "notes/diff_notes_with_reply", notes: [note])}", "#{escape_javascript(render "notes/note", note: note)}");