Skip to content

Commit

Permalink
Queue entries now include the entryid for unique IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
rstemmer committed Jan 23, 2021
1 parent daaf099 commit cd4270c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webui/js/tiles/QueueTile.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// MusicDB, a music manager with web-bases UI that focus on music.
// Copyright (C) 2017-2020 Ralf Stemmer <ralf.stemmer@gmx.net>
// Copyright (C) 2017-2021 Ralf Stemmer <ralf.stemmer@gmx.net>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -34,7 +34,7 @@ class QueueTile extends Tile
MakeElement(queueentryid, musictype, musicid, artwork, title, subtitle, buttonbox)
{
super.MakeElement(artwork, title, new Array(buttonbox), subtitle, null);
super.ConfigDraggable(musictype, musicid, "move", "QueueTile_");
super.ConfigDraggable(musictype, musicid, "move", `QueueEntry${queueentryid}_`);
this.element.dataset.entryid = queueentryid;
}
}
Expand Down

0 comments on commit cd4270c

Please sign in to comment.