From: Jaroslav Kysela Date: Wed, 14 Oct 2015 18:21:19 +0000 (+0200) Subject: WEBUI: Add missing encode call to pass ids through ajax correctly X-Git-Tag: v4.2.1~1911 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e62e5eabfe3fc52fb23939bf72bbf3adc50f0c19;p=thirdparty%2Ftvheadend.git WEBUI: Add missing encode call to pass ids through ajax correctly --- diff --git a/src/webui/static/app/epg.js b/src/webui/static/app/epg.js index d590c1989..6c651a187 100644 --- a/src/webui/static/app/epg.js +++ b/src/webui/static/app/epg.js @@ -933,7 +933,7 @@ tvheadend.epg = function() { Ext.Ajax.request({ url: 'api/epg/events/load', params: { - eventId: ids + eventId: Ext.encode(ids) }, success: function(d) { d = json_decode(d); diff --git a/src/webui/static/app/idnode.js b/src/webui/static/app/idnode.js index c6d301b91..4e3494d34 100644 --- a/src/webui/static/app/idnode.js +++ b/src/webui/static/app/idnode.js @@ -1156,7 +1156,7 @@ tvheadend.idnode_grid = function(panel, conf) ids.push(r.id); }); if (ids) { - var p = { uuid: ids, grid: 1 }; + var p = { uuid: Ext.encode(ids), grid: 1 }; if (conf.list) p.list = conf.list; Ext.Ajax.request({ url: 'api/idnode/load',