CC-2211:changes to playlist not show
Move redraw function into callback function when PL gets deleted from the left window
This commit is contained in:
parent
615c6e18f5
commit
afa51c0d56
|
@ -388,11 +388,12 @@ function deleteSPL() {
|
||||||
|
|
||||||
url = '/Playlist/delete-active/format/json';
|
url = '/Playlist/delete-active/format/json';
|
||||||
|
|
||||||
$.post(url, noOpenPL);
|
$.post(url, function(){
|
||||||
|
noOpenPL;
|
||||||
//redraw the library list
|
//redraw the library list
|
||||||
dt = $("#library_display").dataTable();
|
dt = $("#library_display").dataTable();
|
||||||
dt.fnStandingRedraw();
|
dt.fnStandingRedraw();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function openDiffSPL(json) {
|
function openDiffSPL(json) {
|
||||||
|
|
Loading…
Reference in New Issue