Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Commit

Permalink
Uses JS instead of Coffee for AJAX views
Browse files Browse the repository at this point in the history
  • Loading branch information
mezis committed Aug 26, 2013
1 parent 7d360a4 commit f80addc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 0 additions & 3 deletions app/views/user/bookmarks/create.js.coffee

This file was deleted.

3 changes: 3 additions & 0 deletions app/views/user/bookmarks/create.js.erb
@@ -0,0 +1,3 @@
var target = $('#<%= dom_id @user_bookmark.idea %> .idea-bookmark-link');
target.find('[title]').tooltip('destroy');
target.replaceWith('<%=j render("ideas/bookmark_link", idea:@user_bookmark.idea) %>');
1 change: 0 additions & 1 deletion app/views/user/bookmarks/destroy.js.coffee

This file was deleted.

1 change: 1 addition & 0 deletions app/views/user/bookmarks/destroy.js.erb

0 comments on commit f80addc

Please sign in to comment.