Merge branch 'cc-2211-changes-to-playlist-not-shown' into devel

This commit is contained in:
martin 2011-04-29 15:31:18 -04:00
commit 50c649dc59
8 changed files with 76 additions and 1 deletions

View file

@ -97,6 +97,9 @@ function dtRowCallback( nRow, aData, iDisplayIndex, iDisplayIndexFull ) {
}
$(nRow).attr("id", type+'_'+id);
// insert id on lenth field
$('td:eq(4)', nRow).attr("id", "length");
$('td:eq(5) img', nRow).qtip({

View file

@ -258,6 +258,10 @@ function setSPLContent(json) {
$(".spl_fade_control").click(openFadeEditor);
//$(".spl_playlength").click(openCueEditor);
$(".spl_cue").click(openCueEditor);
//redraw the library list
dt = $("#library_display").dataTable();
dt.fnStandingRedraw();
return false;
}
@ -359,7 +363,11 @@ function createPlaylistMetaForm(json) {
$.post(url, data, function(json){
openDiffSPL(json);
//redraw the library list
dt = $("#library_display").dataTable();
dt.fnStandingRedraw();
})
});
$("#side_playlist")
@ -381,6 +389,10 @@ function deleteSPL() {
url = '/Playlist/delete-active/format/json';
$.post(url, noOpenPL);
//redraw the library list
dt = $("#library_display").dataTable();
dt.fnStandingRedraw();
}
function openDiffSPL(json) {