From: Jaroslav Kysela Date: Wed, 28 May 2014 14:07:19 +0000 (+0200) Subject: webui: campt is linuxdvb specific interface X-Git-Tag: v4.1~2030 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13aac5d3db336177e5e8d3d5ca6ce66b4982a992;p=thirdparty%2Ftvheadend.git webui: campt is linuxdvb specific interface --- diff --git a/src/webui/static/app/tvheadend.js b/src/webui/static/app/tvheadend.js index 915a06e42..bc864c51d 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); }