public
Created

  • Download Gist
gistfile1.js
JavaScript
1 2 3 4 5 6 7 8
<% broadcast "deal-events", "deal-channel-#{@deal.id}" do %>
 
$('#activites').prepend('<%= escape_javascript(render :partial => "activities/activity", :locals => { :activity => @activity }) %>');
$('#activites li:first-child').hide();
$('#activites li:first-child').fadeIn(1000);
$("#request_title, #request_due_date").val('');
<% end %>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.