CC-4286: Library: Alert pops up when double clicking any item in Library when nothing is opened in right side
-fixed
This commit is contained in:
parent
bc660c4cdf
commit
53418e475d
|
@ -100,8 +100,11 @@ var AIRTIME = (function(AIRTIME){
|
||||||
|
|
||||||
//process selected files/playlists.
|
//process selected files/playlists.
|
||||||
aMediaIds.push(new Array(data.id, data.ftype));
|
aMediaIds.push(new Array(data.id, data.ftype));
|
||||||
|
|
||||||
AIRTIME.playlist.fnAddItems(aMediaIds, undefined, 'after');
|
//check if a playlist/block is open before adding items
|
||||||
|
if ($('input[id="obj_type"]').val() == 'playlist' || $('input[id="obj_type"]').val() == 'block') {
|
||||||
|
AIRTIME.playlist.fnAddItems(aMediaIds, undefined, 'after');
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
mod.setupLibraryToolbar = function() {
|
mod.setupLibraryToolbar = function() {
|
||||||
|
|
Loading…
Reference in New Issue