Fixed bunch of js bugs with comments. Also added development tips

This commit is contained in:
randx 2012-08-30 21:31:55 +03:00
parent 92137b7beb
commit 4a6596af27
12 changed files with 269 additions and 200 deletions

View file

@ -1,7 +1,7 @@
- if note.valid?
:plain
$(".per_line_form").hide();
$('#new_note textarea').val("");
$('.line-note-form-holder textarea').val("");
$("a.line_note_reply_link[line_code='#{note.line_code}']").closest("tr").remove();
var trEl = $(".#{note.line_code}").parent();
trEl.after("#{escape_javascript(render partial: "notes/per_line_show", locals: {note: note})}");