Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WebUI: improve notifications for the input tree (adapter add/del)
  • Loading branch information
perexg committed May 6, 2015
1 parent cafbf1a commit dec62bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/input.c
Expand Up @@ -51,6 +51,8 @@ tvh_hardware_create0
/* Load config */
if (conf)
idnode_load(&th->th_id, conf);

notify_reload("hardware");

return o;
}
Expand All @@ -65,6 +67,7 @@ tvh_hardware_delete ( tvh_hardware_t *th )
// TODO
LIST_REMOVE(th, th_link);
idnode_unlink(&th->th_id);
notify_reload("hardware");
}

/*
Expand Down
1 change: 1 addition & 0 deletions src/webui/static/app/tvadapters.js
Expand Up @@ -5,6 +5,7 @@ tvheadend.tvadapters = function(panel, index) {
title: 'TV adapters',
iconCls: 'tvCards',
tabIndex: index,
comet: 'hardware',
help: function() {
new tvheadend.help('TV adapters', 'config_tvadapters.html');
}
Expand Down

0 comments on commit dec62bf

Please sign in to comment.