Fix #1549 - webui: stop tabs being re-added.
This commit is contained in:
parent
07c75503cc
commit
87822f001f
1 changed files with 2 additions and 2 deletions
|
@ -242,6 +242,8 @@ tvheadend.VLC = function(url) {
|
|||
*/
|
||||
function accessUpdate(o) {
|
||||
tvheadend.accessUpdate = o;
|
||||
if (!tvheadend.capabilities)
|
||||
return;
|
||||
|
||||
if (o.dvr == true && tvheadend.dvrpanel == null) {
|
||||
tvheadend.dvrpanel = new tvheadend.dvr;
|
||||
|
@ -260,8 +262,6 @@ function accessUpdate(o) {
|
|||
new tvheadend.iptv, new tvheadend.acleditor ]
|
||||
});
|
||||
tvheadend.rootTabPanel.add(tvheadend.confpanel);
|
||||
}
|
||||
if (tvheadend.capabilities && tvheadend.confpanel) {
|
||||
if (tvheadend.capabilities.indexOf('linuxdvb') != -1 ||
|
||||
tvheadend.capabilities.indexOf('v4l') != -1) {
|
||||
tvheadend.confpanel.add(new tvheadend.tvadapters);
|
||||
|
|
Loading…
Add table
Reference in a new issue