%ul#notes-list.notes
.js-notes-busy

.js-main-target-form
- if can? current_user, :write_note, @project
  = render "notes/form"

:javascript
  $(function(){
    NoteList.init("#{@target_id}", "#{@target_type}", "#{project_notes_path(@project)}");
  });

%ul#notes-list.notes
.js-notes-busy

.js-main-target-form
- if can? current_user, :write_note, @project
  = render "notes/form"

:javascript
  NoteList.init("#{@target_id}", "#{@target_type}", "#{project_notes_path(@project)}");

Remove on-ready for NoteList event
Remove on-ready for NoteList event
