CC-2211:Changes to playlist not shown

Everything works fine except when adding new playlist.
When the new playlist gets created, it doesn't display
the page which contains the playlist.
This commit is contained in:
James Moon 2011-04-27 12:14:24 -07:00
parent bf34170f29
commit 44d599a00b
5 changed files with 62 additions and 4 deletions

View file

@ -259,9 +259,9 @@ function setSPLContent(json) {
//$(".spl_playlength").click(openCueEditor);
$(".spl_cue").click(openCueEditor);
//Update length on library list
$("#pl_"+json.pl_id).children("#length").empty().append(json.length);
//var pos = dt.fnGetPosition($("#pl_"+json.pl_id));
//redraw the library list
dt = $("#library_display").dataTable();
dt.fnStandingRedraw();
return false;
}
@ -367,7 +367,7 @@ function createPlaylistMetaForm(json) {
//redraw the library list
dt = $("#library_display").dataTable();
dt.fnDraw();
dt.fnStandingRedraw();
});
$("#side_playlist")