Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WEBUI JS: EPG: Fix the dvr create by series URL
  • Loading branch information
perexg committed Sep 8, 2014
1 parent 4963d4c commit 6a31c62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/webui/static/app/epg.js
Expand Up @@ -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()
Expand Down

0 comments on commit 6a31c62

Please sign in to comment.