Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WEBUI: Fix the 'TV adapters' events (to refresh old values), fixes #3130
  • Loading branch information
perexg committed Oct 7, 2015
1 parent 443c287 commit 0dee353
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/input/mpegts/satip/satip.c
Expand Up @@ -191,6 +191,7 @@ satip_device_class_tunercfg_notify ( void *o, const char *lang )
const idclass_t satip_device_class =
{
.ic_class = "satip_client",
.ic_event = "satip_client",
.ic_caption = N_("SAT>IP Client"),
.ic_save = satip_device_class_save,
.ic_get_childs = satip_device_class_get_childs,
Expand Down
1 change: 1 addition & 0 deletions src/webui/static/app/comet.js
Expand Up @@ -48,6 +48,7 @@ tvheadend.cometPoller = function() {
tvheadend.boxid = response.boxid;
for (x = 0; x < response.messages.length; x++) {
m = response.messages[x];
if (0) console.log(JSON.stringify(m), null, " ");
try {
tvheadend.comet.fireEvent(m.notificationClass, m);
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion src/webui/static/app/idnode.js
Expand Up @@ -1983,7 +1983,7 @@ tvheadend.idnode_tree = function(panel, conf)
}

function updatenode(o) {
if (o.uuid) {
if ('change' in o || 'delete' in o) {
tree.getRootNode().reload();
tree.expandAll();
}
Expand Down

0 comments on commit 0dee353

Please sign in to comment.