diff --git a/src/webui/static/app/tvheadend.js b/src/webui/static/app/tvheadend.js index 915a06e4..bc864c51 100644 --- a/src/webui/static/app/tvheadend.js +++ b/src/webui/static/app/tvheadend.js @@ -283,15 +283,15 @@ function accessUpdate(o) { /* CSA */ if (tvheadend.capabilities.indexOf('cwc') !== -1) { + tabs2 = [new tvheadend.cwceditor]; + if (tvheadend.capabilities.indexOf('linuxdvb') !== -1) + tabs2.push(new tvheadend.capmteditor); tvheadend.conf_csa = new Ext.TabPanel({ activeTab: 0, autoScroll: true, title: 'CSA', iconCls: 'key', - items: [ - new tvheadend.cwceditor, - new tvheadend.capmteditor - ] + items: tabs2 }); tabs1.push(tvheadend.conf_csa); }