SAAS-1050 - fix track remove buttons in playlist/smart block editors
This commit is contained in:
parent
9071c8d4b6
commit
888762739e
|
@ -1007,7 +1007,7 @@ var AIRTIME = (function(AIRTIME){
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$pl.unbind().on("click", "#save_button", function(event) {
|
$pl.find("#save_button").unbind().on("click", function(event) {
|
||||||
/* Smart blocks: get name, description, and criteria
|
/* Smart blocks: get name, description, and criteria
|
||||||
* Playlists: get name, description
|
* Playlists: get name, description
|
||||||
*/
|
*/
|
||||||
|
@ -1271,7 +1271,6 @@ var AIRTIME = (function(AIRTIME){
|
||||||
};
|
};
|
||||||
|
|
||||||
mod.playlistResponse = function(json){
|
mod.playlistResponse = function(json){
|
||||||
console.log(json);
|
|
||||||
if (json.error !== undefined ||
|
if (json.error !== undefined ||
|
||||||
(json.result !== undefined && json.result != 0)) {
|
(json.result !== undefined && json.result != 0)) {
|
||||||
if (json.error) {
|
if (json.error) {
|
||||||
|
@ -1287,12 +1286,12 @@ var AIRTIME = (function(AIRTIME){
|
||||||
}
|
}
|
||||||
|
|
||||||
mod.enableUI();
|
mod.enableUI();
|
||||||
}
|
};
|
||||||
|
|
||||||
mod.replaceForm = function(json){
|
mod.replaceForm = function(json){
|
||||||
$pl.find('.editor_pane_wrapper').html(json.html);
|
$pl.find('.editor_pane_wrapper').html(json.html);
|
||||||
openPlaylist(json);
|
openPlaylist(json);
|
||||||
}
|
};
|
||||||
|
|
||||||
|
|
||||||
function playlistRequest(sUrl, oData) {
|
function playlistRequest(sUrl, oData) {
|
||||||
|
|
Loading…
Reference in New Issue