CC-4145: Playlist Builder: Alert pops up when clicking 'Add to playlist' in context menu of Smart Playlist to add it into regular playlist
-fixed
This commit is contained in:
parent
d18acfdc75
commit
2c0f7bf03b
|
@ -596,9 +596,11 @@ var AIRTIME = (function(AIRTIME) {
|
|||
|
||||
//define an add to playlist callback.
|
||||
if (oItems.pl_add !== undefined) {
|
||||
var aItems = [];
|
||||
|
||||
callback = function() {
|
||||
AIRTIME.playlist.fnAddItems([data.id], undefined, 'after');
|
||||
aItems.push(new Array(data.id, data.ftype));
|
||||
AIRTIME.playlist.fnAddItems(aItems, undefined, 'after');
|
||||
};
|
||||
|
||||
oItems.pl_add.callback = callback;
|
||||
|
|
Loading…
Reference in New Issue