CC-4932: Library -> Update Scheduled column on 'Cancel current show' action

-fixed
This commit is contained in:
denise 2013-02-13 11:29:43 -05:00
parent 50613dd9a8
commit 4ff1e8e78a
2 changed files with 2 additions and 0 deletions

View File

@ -895,6 +895,7 @@ class ScheduleController extends Zend_Controller_Action
try {
$scheduler = new Application_Model_Scheduler();
$scheduler->cancelShow($id);
Application_Model_StoredFile::updatePastFilesIsScheduled();
// send kick out source stream signal to pypo
$data = array("sourcename"=>"live_dj");
Application_Model_RabbitMq::SendMessageToPypo("disconnect_source", $data);

View File

@ -1076,6 +1076,7 @@ var AIRTIME = (function(AIRTIME){
url: url,
data: {format: "json", id: data.instance},
success: function(data){
$("#library_content").find("#library_display").dataTable().fnStandingRedraw();
var oTable = $sbTable.dataTable();
oTable.fnDraw();
}