From 13aac5d3db336177e5e8d3d5ca6ce66b4982a992 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 28 May 2014 16:07:19 +0200 Subject: [PATCH] webui: campt is linuxdvb specific interface --- src/webui/static/app/tvheadend.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); }