Skip to content

Instantly share code, notes, and snippets.

@jbeasley6651
Created September 13, 2011 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbeasley6651/1214533 to your computer and use it in GitHub Desktop.
Save jbeasley6651/1214533 to your computer and use it in GitHub Desktop.
<% 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 %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment