gitlabhq/app/views/notes/index.js.haml

5 lines
174 B
Text
Raw Normal View History

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