Fix bug where multiple file metadata editors couldn't be opened through context menu

This commit is contained in:
Duncan Sommerville 2015-10-29 13:47:43 -04:00
parent 40a2aa10d8
commit 706db9bc25

View file

@ -1075,7 +1075,7 @@ var AIRTIME = (function(AIRTIME) {
if (data.ftype === "audioclip") { if (data.ftype === "audioclip") {
callback = function() { callback = function() {
$.get(oItems.edit.url, {format: "json"}, function(json){ $.get(oItems.edit.url, {format: "json"}, function(json){
AIRTIME.playlist.fileMdEdit(json); AIRTIME.playlist.fileMdEdit(json, data.tr_id);
}); });
}; };
} else if (data.ftype === "playlist" || data.ftype === "block") { } else if (data.ftype === "playlist" || data.ftype === "block") {