CC-84: Smart Playlists
- backend implementation - UI for blocks within playlist
This commit is contained in:
parent
99cfd72cc3
commit
019d13b4c9
8 changed files with 144 additions and 83 deletions
|
@ -88,8 +88,7 @@ var AIRTIME = (function(AIRTIME){
|
|||
});
|
||||
};
|
||||
|
||||
mod.dblClickAdd = function(id, type) {
|
||||
|
||||
mod.dblClickAdd = function(data, type) {
|
||||
var i,
|
||||
length,
|
||||
temp,
|
||||
|
@ -98,7 +97,7 @@ var AIRTIME = (function(AIRTIME){
|
|||
aData = [];
|
||||
|
||||
//process selected files/playlists.
|
||||
aMediaIds.push({"id": id, "type": type});
|
||||
aMediaIds.push({"id": data.id, "type": type});
|
||||
|
||||
$("#show_builder_table tr.cursor-selected-row").each(function(i, el){
|
||||
aData.push($(el).prev().data("aData"));
|
||||
|
@ -114,6 +113,7 @@ var AIRTIME = (function(AIRTIME){
|
|||
alert("Please select a cursor position on timeline.");
|
||||
return false;
|
||||
}
|
||||
console.log(aMediaIds);
|
||||
AIRTIME.showbuilder.fnAdd(aMediaIds, aSchedIds);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue