]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WEBUI JS: change stop recoding behaviour from delete to abort, fixes#2472
authorJaroslav Kysela <perex@perex.cz>
Wed, 12 Nov 2014 09:36:23 +0000 (10:36 +0100)
committerJaroslav Kysela <perex@perex.cz>
Wed, 12 Nov 2014 09:36:23 +0000 (10:36 +0100)
src/webui/static/app/epg.js

index 133ea9c14f70a3d21e59eb8e547d01450a6bd67f..87310d2f47996c8af59956917500541cacc5bfd7 100644 (file)
@@ -247,13 +247,14 @@ tvheadend.epgDetails = function(event) {
 
     function stopDVR() {
         tvheadend.AjaxConfirm({
-            url: 'api/idnode/delete',
+            url: 'api/dvr/entry/cancel',
             params: {
                 uuid: event.dvrUuid,
             },
             success: function(d) {
                 win.close();
-            }
+            },
+            question: 'Do you really want to abort/unschedule this event?'
         });
     }