DVR: all states starting with recording should be allowed to abort, fixes #2390

This commit is contained in:
Jaroslav Kysela 2014-10-27 19:49:20 +01:00
parent 5e0908cc7f
commit 6b5c0cde45

View file

@ -145,7 +145,7 @@ tvheadend.dvr_upcoming = function(panel, index) {
function selected(s, abuttons) {
var recording = 0;
s.each(function(s) {
if (s.data.sched_status == 'recording')
if (s.data.sched_status.indexOf('recording') == 0)
recording++;
});
abuttons.abort.setDisabled(recording < 1);