diff --git a/airtime_mvc/application/controllers/PlaylistController.php b/airtime_mvc/application/controllers/PlaylistController.php index c7da627f6..e6c37c580 100644 --- a/airtime_mvc/application/controllers/PlaylistController.php +++ b/airtime_mvc/application/controllers/PlaylistController.php @@ -173,7 +173,6 @@ class PlaylistController extends Zend_Controller_Action $this->view->html = $this->view->render('playlist/update.phtml'); $this->view->name = $pl->getName(); $this->view->length = $pl->getLength(); - $this->view->pl_id = $pl->getid(); unset($this->view->pl); return; @@ -219,7 +218,6 @@ class PlaylistController extends Zend_Controller_Action $this->view->html = $this->view->render('playlist/update.phtml'); $this->view->name = $pl->getName(); $this->view->length = $pl->getLength(); - $this->view->pl_id = $pl->getid(); unset($this->view->pl); diff --git a/airtime_mvc/public/js/airtime/library/spl.js b/airtime_mvc/public/js/airtime/library/spl.js index fae59e97c..c24c9d348 100644 --- a/airtime_mvc/public/js/airtime/library/spl.js +++ b/airtime_mvc/public/js/airtime/library/spl.js @@ -389,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) {