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

5 lines
183 B
Plaintext
Raw Normal View History

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