CC-3777 : Decide on what should happen with canceling recorded show
This commit is contained in:
parent
6a2bab66fa
commit
07d029b8cc
3 changed files with 7 additions and 10 deletions
|
@ -652,13 +652,10 @@ class Application_Model_Scheduler {
|
|||
|
||||
$this->removeItems($remove, false);
|
||||
}
|
||||
}
|
||||
|
||||
$instance->setDbEnds($this->nowDT);
|
||||
$instance->save($this->con);
|
||||
}
|
||||
else {
|
||||
$instance->delete($this->con);
|
||||
}
|
||||
|
||||
$this->con->commit();
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ function confirmCancelShow(show_instance_id){
|
|||
}
|
||||
|
||||
function confirmCancelRecordedShow(show_instance_id){
|
||||
if (confirm('Erase current show and stop recording?')) {
|
||||
if (confirm('Stop recording current show?')) {
|
||||
var url = "/Schedule/cancel-current-show";
|
||||
$.ajax({
|
||||
url: url,
|
||||
|
|
|
@ -849,7 +849,7 @@ var AIRTIME = (function(AIRTIME){
|
|||
data = $tr.data("aData");
|
||||
|
||||
if (data.record === true) {
|
||||
msg = 'Erase current show and stop recording?';
|
||||
msg = 'Stop recording current show?';
|
||||
}
|
||||
|
||||
if (confirm(msg)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue