Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: all states starting with recording should be allowed to abort, f…
…ixes #2390
  • Loading branch information
perexg committed Oct 27, 2014
1 parent 5e0908c commit 6b5c0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui/static/app/dvr.js
Expand Up @@ -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);
Expand Down

0 comments on commit 6b5c0cd

Please sign in to comment.