Initial commit
This commit is contained in:
8
app/views/bookmarks/update.js.erb
Normal file
8
app/views/bookmarks/update.js.erb
Normal file
@@ -0,0 +1,8 @@
|
||||
<% # Remove the modal if it already exists %>
|
||||
$("#edit_bookmark_modal").toggle();
|
||||
$(".modal-backdrop").remove();
|
||||
<% # Create and show the modal %>
|
||||
$("#video_bookmarks").html("<%= j render @bookmarks %>");
|
||||
|
||||
<%# Replacing html removes the scroll bar %>
|
||||
$("body").css({"overflow": "visible"});
|
||||
Reference in New Issue
Block a user