Nicolas Bally 6abf7679fd initial
2011-05-14 13:36:30 +02:00

5 lines
297 B
Plaintext

$('#prescription_place').replaceWith('<%= escape_javascript(render(:partial => "show")) %>');
$('.prescription').removeClass('active');
$('#prescriptions').replaceWith('<%= escape_javascript(render(:partial => "prescriptions")) %>');
$('#prescription_<%= @prescription.id %>').addClass('active');