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) {
var el = evt.item;
var newIndex = evt.newIndex;
var itemId = el.getAttribute('data-playlistitemid');
@ -134,6 +134,7 @@
}).then(function () {
el.setAttribute('data-index', newIndex);
Dashboard.hideLoadingMsg();
}, function () {