2012-02-24 21:36:44 +01:00
|
|
|
- if note.valid?
|
|
|
|
:plain
|
|
|
|
$(".per_line_form").hide();
|
2012-09-02 18:31:16 +02:00
|
|
|
$('.line-note-form-holder textarea').val("");
|
2012-02-24 21:36:44 +01:00
|
|
|
$("a.line_note_reply_link[line_code='#{note.line_code}']").closest("tr").remove();
|
|
|
|
var trEl = $(".#{note.line_code}").parent();
|
2012-08-11 00:07:50 +02:00
|
|
|
trEl.after("#{escape_javascript(render partial: "notes/per_line_show", locals: {note: note})}");
|
|
|
|
trEl.after("#{escape_javascript(render partial: "notes/reply_button", locals: {line_code: note.line_code})}");
|