CC-5762 : Playlist options validation
only add to static playlists
This commit is contained in:
parent
eaa804597e
commit
9d11d2a6a7
|
@ -42,7 +42,11 @@ var AIRTIME = (function(AIRTIME) {
|
||||||
|
|
||||||
//data is the aData of the tr element.
|
//data is the aData of the tr element.
|
||||||
mod.dblClickAdd = function(data) {
|
mod.dblClickAdd = function(data) {
|
||||||
addToPlaylist([data.Id]);
|
var $playlistContentEl = $("#spl_sortable");
|
||||||
|
|
||||||
|
if ($playlistContentEl.length > 0) {
|
||||||
|
addToPlaylist([data.Id]);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
mod.addButtonClick = function() {
|
mod.addButtonClick = function() {
|
||||||
|
|
Loading…
Reference in New Issue