1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix playlist index after drag and drop

This commit is contained in:
Luke Pulverenti 2016-07-11 14:59:46 -04:00
parent a21e807db5
commit 07fa31c5a6

View file

@ -119,7 +119,7 @@
function onDrop(evt, page, item) { function onDrop(evt, page, item) {
var el = evt.item; var el = evt.item;
var newIndex = evt.newIndex; var newIndex = evt.newIndex;
var itemId = el.getAttribute('data-playlistitemid'); var itemId = el.getAttribute('data-playlistitemid');
@ -134,6 +134,7 @@
}).then(function () { }).then(function () {
el.setAttribute('data-index', newIndex);
Dashboard.hideLoadingMsg(); Dashboard.hideLoadingMsg();
}, function () { }, function () {