Initial commit
This commit is contained in:
7
app/views/bookmarks/create.js.erb
Normal file
7
app/views/bookmarks/create.js.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
<% # Add a marker to the timeline %>
|
||||
$(document).trigger("addBookmark-<%= @video.id %>", [<%= raw @bookmark.to_json %>]);
|
||||
|
||||
<% # Close the bookmark modal %>
|
||||
$("#new_bookmark_modal").modal("toggle");
|
||||
|
||||
$("#video_bookmarks").html("<%= j render @bookmarks %>");
|
||||
Reference in New Issue
Block a user