Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WEBUI: Add missing encode call to pass ids through ajax correctly
  • Loading branch information
perexg committed Oct 14, 2015
1 parent 0697ed2 commit e62e5ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/webui/static/app/epg.js
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/webui/static/app/idnode.js
Expand Up @@ -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',
Expand Down

0 comments on commit e62e5ea

Please sign in to comment.