SAAS-1064: Publish action for library context menu
This commit is contained in:
parent
50996a081f
commit
ed33714340
5 changed files with 139 additions and 29 deletions
|
@ -1174,13 +1174,7 @@ var AIRTIME = (function(AIRTIME) {
|
|||
if (oItems.publish !== undefined) {
|
||||
if (data.ftype === "audioclip") {
|
||||
callback = function() {
|
||||
alert("TODO: Publish track with ID " + data.id);
|
||||
|
||||
/*
|
||||
$.get(oItems.publish.url, {format: "json"}, function(json){
|
||||
//AIRTIME.playlist.fileMdEdit(json);
|
||||
alert("derp");
|
||||
});*/
|
||||
AIRTIME.publish.publishTrack(data.id);
|
||||
};
|
||||
}
|
||||
oItems.publish.callback = callback;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue