Tweak movement
This commit is contained in:
parent
89422c3c1d
commit
6309e42989
5 changed files with 12 additions and 14 deletions
|
|
@ -867,13 +867,11 @@ Callbacks = {
|
|||
},
|
||||
|
||||
moveVideo: function(data) {
|
||||
if (data.moveby != CLIENT.name) {
|
||||
PL_ACTION_QUEUE.queue(function (plq) {
|
||||
playlistMove(data.from, data.after, function () {
|
||||
plq.release();
|
||||
});
|
||||
PL_ACTION_QUEUE.queue(function (plq) {
|
||||
playlistMove(data.from, data.after, function () {
|
||||
plq.release();
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
setCurrent: function(uid) {
|
||||
|
|
|
|||
|
|
@ -316,6 +316,7 @@ $("#queue").sortable({
|
|||
from: PL_FROM,
|
||||
after: PL_AFTER
|
||||
});
|
||||
$("#queue").sortable("cancel");
|
||||
}
|
||||
});
|
||||
$("#queue").disableSelection();
|
||||
|
|
|
|||
|
|
@ -419,8 +419,7 @@ function addQueueButtons(li) {
|
|||
.click(function() {
|
||||
socket.emit("moveMedia", {
|
||||
from: li.data("uid"),
|
||||
after: PL_CURRENT,
|
||||
moveby: null
|
||||
after: PL_CURRENT
|
||||
});
|
||||
})
|
||||
.appendTo(menu);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue