Temp commit.
It's not done, need to work more later.
This commit is contained in:
parent
7a40161e7e
commit
bf34170f29
4 changed files with 16 additions and 1 deletions
|
@ -94,6 +94,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({
|
||||
|
||||
|
|
|
@ -258,6 +258,10 @@ function setSPLContent(json) {
|
|||
$(".spl_fade_control").click(openFadeEditor);
|
||||
//$(".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));
|
||||
|
||||
return false;
|
||||
}
|
||||
|
@ -360,6 +364,10 @@ function createPlaylistMetaForm(json) {
|
|||
$.post(url, data, function(json){
|
||||
openDiffSPL(json);
|
||||
})
|
||||
|
||||
//redraw the library list
|
||||
dt = $("#library_display").dataTable();
|
||||
dt.fnDraw();
|
||||
});
|
||||
|
||||
$("#side_playlist")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue