Skip to content

Instantly share code, notes, and snippets.

@fivetwentysix
Created November 25, 2010 10:13
Show Gist options
  • Save fivetwentysix/715158 to your computer and use it in GitHub Desktop.
Save fivetwentysix/715158 to your computer and use it in GitHub Desktop.
if ($('edit_reply_<%= @reply.id %>')) {
$('edit_reply_<%= @reply.id %>').addEvent('submit', function(e) {
e.stop();
this.send();
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment