Welcome to mirror list, hosted at ThFree Co, Russian Federation.

create.js.haml « notes « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 47cff1d88346fa5aa89ea74168a571a05a79dce5 (plain)
1
2
3
4
5
6
7
8
- if @note.valid?
  :plain
    $("#new_note .errors").remove();
    $("#notes-list").append("#{escape_javascript(render(:partial => 'show', :locals => {:note => @note} ))}");
    $('#note_note').val("");
- else
  :plain
    $("#new_note").replaceWith("#{escape_javascript(render('form'))}");