From: Jaroslav Kysela Date: Mon, 27 Oct 2014 18:49:20 +0000 (+0100) Subject: DVR: all states starting with recording should be allowed to abort, fixes #2390 X-Git-Tag: v4.1~882 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b5c0cde45a1f8ac69c2be9b89262b3ac9aafcab;p=thirdparty%2Ftvheadend.git DVR: all states starting with recording should be allowed to abort, fixes #2390 --- diff --git a/src/webui/static/app/dvr.js b/src/webui/static/app/dvr.js index eba281f3a..5f3d3cc39 100644 --- a/src/webui/static/app/dvr.js +++ b/src/webui/static/app/dvr.js @@ -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);