]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
DVR: all states starting with recording should be allowed to abort, fixes #2390
authorJaroslav Kysela <perex@perex.cz>
Mon, 27 Oct 2014 18:49:20 +0000 (19:49 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 27 Oct 2014 18:49:20 +0000 (19:49 +0100)
src/webui/static/app/dvr.js

index eba281f3a967a128f6fb829125b7216e54cf67d2..5f3d3cc39444cc4f2bbd26e11af10ea10e8fa4cb 100644 (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);