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