From cd4270cd53a0d87f6404ebf457ae20d96970e22c Mon Sep 17 00:00:00 2001 From: Ralf Stemmer Date: Sat, 23 Jan 2021 10:06:25 +0100 Subject: [PATCH] Queue entries now include the entryid for unique IDs --- webui/js/tiles/QueueTile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webui/js/tiles/QueueTile.js b/webui/js/tiles/QueueTile.js index 989cc7f2..7560091f 100644 --- a/webui/js/tiles/QueueTile.js +++ b/webui/js/tiles/QueueTile.js @@ -1,5 +1,5 @@ // MusicDB, a music manager with web-bases UI that focus on music. -// Copyright (C) 2017-2020 Ralf Stemmer +// Copyright (C) 2017-2021 Ralf Stemmer // // 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 @@ -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; } }