Skip to content
Snippets Groups Projects
Commit 3c02c93f authored by Riyad Preukschas's avatar Riyad Preukschas
Browse files

Remove 'notes/load' partial

parent 8fb70d92
No related branches found
No related tags found
No related merge requests found
- unless @notes.blank?
- if loading_more_notes?
:plain
NoteList.appendMoreNotes(#{@notes.last.id}, "#{escape_javascript(render 'notes/notes_list')}");
- elsif loading_new_notes?
:plain
NoteList.replaceNewNotes("#{escape_javascript(render 'notes/notes_list')}");
- else
:plain
NoteList.setContent(#{@notes.last.id}, "#{escape_javascript(render 'notes/notes_list')}");
- else
- if loading_more_notes?
:plain
NoteList.finishedLoadingMore();
= render "notes/load"
- unless @notes.blank?
- if loading_more_notes?
:plain
NoteList.appendMoreNotes(#{@notes.last.id}, "#{escape_javascript(render 'notes/notes_list')}");
- elsif loading_new_notes?
:plain
NoteList.replaceNewNotes("#{escape_javascript(render 'notes/notes_list')}");
- else
:plain
NoteList.setContent(#{@notes.last.id}, "#{escape_javascript(render 'notes/notes_list')}");
- else
- if loading_more_notes?
:plain
NoteList.finishedLoadingMore();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment