gitlab-org--gitlab-foss/app/views/notes/index.js.haml
2013-03-19 12:34:14 +02:00

4 lines
174 B
Text

- unless @notes.blank?
var notesHtml = "#{escape_javascript(render 'notes/notes')}";
- new_note_ids = @notes.map(&:id)
NoteList.setContent(#{new_note_ids}, notesHtml);