From 6a31c62e263a55eea5f49e3e257e22928827fac6 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 8 Sep 2014 18:36:09 +0200 Subject: [PATCH] WEBUI JS: EPG: Fix the dvr create by series URL --- src/webui/static/app/epg.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/webui/static/app/epg.js b/src/webui/static/app/epg.js index 1bb4cac0..9f92c891 100644 --- a/src/webui/static/app/epg.js +++ b/src/webui/static/app/epg.js @@ -166,16 +166,16 @@ tvheadend.epgDetails = function(event) { win.show(); function recordEvent() { - record('event') + record('api/dvr/entry/create_by_event') } function recordSeries() { - record('series'); + record('api/dvr/autorec/create_by_series'); } - function record(op) { + function record(url) { Ext.Ajax.request({ - url: 'api/dvr/entry/create_by_' + op, + url: url, params: { event_id: event.id, config_uuid: confcombo.getValue()