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