edl integration work
This commit is contained in:
parent
efffc35f30
commit
41c959892a
13
layout.html
13
layout.html
@ -543,6 +543,19 @@
|
|||||||
parent.setAttribute("data-edl-name", edl_name);
|
parent.setAttribute("data-edl-name", edl_name);
|
||||||
});
|
});
|
||||||
sort_inserts();
|
sort_inserts();
|
||||||
|
// set up jump/remove handlers
|
||||||
|
const remove_buttons = document.querySelectorAll("button.media_item_edl_remove_insert");
|
||||||
|
remove_buttons.forEach((btn) => {
|
||||||
|
btn.addEventListener("click", (e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
e.target.parentNode.remove();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
const jump_buttons = document.querySelectorAll("button.media_item_edl_jump_insert");
|
||||||
|
jump_buttons.forEach((btn) => {
|
||||||
|
btn.removeEventListener("click", jumpHandler);
|
||||||
|
btn.addEventListener("click", jumpHandler);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
save_button.addEventListener("click", (e) => {
|
save_button.addEventListener("click", (e) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user