]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
webui: campt is linuxdvb specific interface
authorJaroslav Kysela <perex@perex.cz>
Wed, 28 May 2014 14:07:19 +0000 (16:07 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 28 May 2014 14:07:19 +0000 (16:07 +0200)
src/webui/static/app/tvheadend.js

index 915a06e428cba1648ed7c621242801b4518c68d9..bc864c51d9cf41675c677c1e1f9ed15178a3db2a 100644 (file)
@@ -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);
         }