add checkboxes to add as temporary

This commit is contained in:
calzoneman 2014-02-09 00:24:20 -06:00
parent cec68d0f2a
commit bf3832fb3a
3 changed files with 28 additions and 4 deletions

View file

@ -983,7 +983,8 @@ function addLibraryButtons(li, id, source) {
socket.emit("queue", {
id: id,
pos: "next",
type: type
type: type,
temp: $(".add-temp").prop("checked")
});
})
.appendTo(btns);
@ -994,7 +995,8 @@ function addLibraryButtons(li, id, source) {
socket.emit("queue", {
id: id,
pos: "end",
type: type
type: type,
temp: $(".add-temp").prop("checked")
});
})
.appendTo(btns);