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:
denise 2012-08-07 11:08:00 -04:00
parent d18acfdc75
commit 2c0f7bf03b
1 changed files with 3 additions and 1 deletions

View File

@ -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;