Permalink
Browse files

Fixed bizarre erb/coffeescript string escape error.

  • Loading branch information...
1 parent a8f16fa commit 22b3fd44e7f6ae61e49aa5d5dba19dfd5da386cc @baddox committed Dec 29, 2011
Showing with 4 additions and 3 deletions.
  1. +4 −3 app/views/members/create.js.coffee
@@ -1,8 +1,9 @@
-$("#members").append("<%= render :partial => 'member_tr', :locals => {:member => @member} %>")
$('#new_member :input')
.not(':button, :submit, :reset, :hidden')
.val('')
.removeAttr('checked')
.removeAttr('selected');
-console.log $('#member_first_name').first()
-$('#member_first_name').first().focus()
+$('#member_first_name').first().focus()
+$("#members").append("""
+<%= render :partial => 'member_tr', :locals => {:member => @member} %>
+""")

0 comments on commit 22b3fd4

Please sign in to comment.