Commit dd1b3177c999560818e8bbfb549630234f6ec9f0
1 parent
4fc66ead
Exists in
master
and in
4 other branches
Renamed 'notes/notes_list' partial to 'notes/notes'
Showing
3 changed files
with
7 additions
and
7 deletions
Show diff stats
app/views/notes/_notes_list.html.haml
app/views/notes/index.js.haml
1 | - unless @notes.blank? | 1 | - unless @notes.blank? |
2 | - if loading_more_notes? | 2 | - if loading_more_notes? |
3 | :plain | 3 | :plain |
4 | - NoteList.appendMoreNotes(#{@notes.last.id}, "#{escape_javascript(render 'notes/notes_list')}"); | 4 | + NoteList.appendMoreNotes(#{@notes.last.id}, "#{escape_javascript(render 'notes/notes')}"); |
5 | 5 | ||
6 | - elsif loading_new_notes? | 6 | - elsif loading_new_notes? |
7 | :plain | 7 | :plain |
8 | - NoteList.replaceNewNotes("#{escape_javascript(render 'notes/notes_list')}"); | 8 | + NoteList.replaceNewNotes("#{escape_javascript(render 'notes/notes')}"); |
9 | 9 | ||
10 | - else | 10 | - else |
11 | :plain | 11 | :plain |
12 | - NoteList.setContent(#{@notes.last.id}, "#{escape_javascript(render 'notes/notes_list')}"); | 12 | + NoteList.setContent(#{@notes.last.id}, "#{escape_javascript(render 'notes/notes')}"); |
13 | 13 | ||
14 | - else | 14 | - else |
15 | - if loading_more_notes? | 15 | - if loading_more_notes? |