CC-4932: Library -> Update Scheduled column on 'Cancel current show' action
-fixed
This commit is contained in:
parent
50613dd9a8
commit
4ff1e8e78a
|
@ -895,6 +895,7 @@ class ScheduleController extends Zend_Controller_Action
|
||||||
try {
|
try {
|
||||||
$scheduler = new Application_Model_Scheduler();
|
$scheduler = new Application_Model_Scheduler();
|
||||||
$scheduler->cancelShow($id);
|
$scheduler->cancelShow($id);
|
||||||
|
Application_Model_StoredFile::updatePastFilesIsScheduled();
|
||||||
// send kick out source stream signal to pypo
|
// send kick out source stream signal to pypo
|
||||||
$data = array("sourcename"=>"live_dj");
|
$data = array("sourcename"=>"live_dj");
|
||||||
Application_Model_RabbitMq::SendMessageToPypo("disconnect_source", $data);
|
Application_Model_RabbitMq::SendMessageToPypo("disconnect_source", $data);
|
||||||
|
|
|
@ -1076,6 +1076,7 @@ var AIRTIME = (function(AIRTIME){
|
||||||
url: url,
|
url: url,
|
||||||
data: {format: "json", id: data.instance},
|
data: {format: "json", id: data.instance},
|
||||||
success: function(data){
|
success: function(data){
|
||||||
|
$("#library_content").find("#library_display").dataTable().fnStandingRedraw();
|
||||||
var oTable = $sbTable.dataTable();
|
var oTable = $sbTable.dataTable();
|
||||||
oTable.fnDraw();
|
oTable.fnDraw();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue