gitlab-org--gitlab-foss/app/views/notes/index.js.haml

5 lines
174 B
Text
Raw Normal View History

2012-09-13 23:05:37 -04:00
- unless @notes.blank?
var notesHtml = "#{escape_javascript(render 'notes/notes')}";
- new_note_ids = @notes.map(&:id)
2013-03-19 06:34:14 -04:00
NoteList.setContent(#{new_note_ids}, notesHtml);