Allow renaming Custom Embed items (#255)
This commit is contained in:
parent
1294a7bd50
commit
36445bed6e
3 changed files with 12 additions and 0 deletions
|
|
@ -279,12 +279,18 @@ $("#queue").disableSelection();
|
|||
|
||||
function queue(pos) {
|
||||
if($("#customembed_code").val()) {
|
||||
var title = false;
|
||||
if($("#customembed_title").val()) {
|
||||
title = $("#customembed_title").val();
|
||||
}
|
||||
socket.emit("queue", {
|
||||
id: $("#customembed_code").val(),
|
||||
title: title,
|
||||
type: "cu",
|
||||
pos: pos
|
||||
});
|
||||
$("#customembed_code").val("");
|
||||
$("#customembed_title").val("");
|
||||
return;
|
||||
}
|
||||
var links = $("#mediaurl").val().split(",");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue