From 615c6e18f5b66c2c855e2534ae43548af165d503 Mon Sep 17 00:00:00 2001 From: James Moon Date: Fri, 29 Apr 2011 11:08:10 -0700 Subject: [PATCH] cc-2211:changes-to-playlist-not-shown There was a timing issue Moved redrawing part into callback function. --- airtime_mvc/public/js/airtime/library/spl.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/airtime_mvc/public/js/airtime/library/spl.js b/airtime_mvc/public/js/airtime/library/spl.js index c24c9d348..e2be8b770 100644 --- a/airtime_mvc/public/js/airtime/library/spl.js +++ b/airtime_mvc/public/js/airtime/library/spl.js @@ -363,11 +363,11 @@ function createPlaylistMetaForm(json) { $.post(url, data, function(json){ openDiffSPL(json); + //redraw the library list + dt = $("#library_display").dataTable(); + dt.fnStandingRedraw(); }) - //redraw the library list - dt = $("#library_display").dataTable(); - dt.fnStandingRedraw(); }); $("#side_playlist")