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:
James Moon 2011-04-29 12:17:06 -07:00
parent 615c6e18f5
commit afa51c0d56
1 changed files with 6 additions and 5 deletions

View File

@ -388,11 +388,12 @@ function deleteSPL() {
url = '/Playlist/delete-active/format/json';
$.post(url, noOpenPL);
//redraw the library list
dt = $("#library_display").dataTable();
dt.fnStandingRedraw();
$.post(url, function(){
noOpenPL;
//redraw the library list
dt = $("#library_display").dataTable();
dt.fnStandingRedraw();
});
}
function openDiffSPL(json) {