]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WEBUI: debugging - fix trace detection
authorJaroslav Kysela <perex@perex.cz>
Tue, 2 Jun 2015 09:00:53 +0000 (11:00 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 2 Jun 2015 09:00:53 +0000 (11:00 +0200)
src/webui/static/app/tvhlog.js

index 6e680be6fb4e1b84b583030cc9b3f1324bc1a5c4..63336643c98550a3d61a4deeb824c08b4688b871 100644 (file)
@@ -64,10 +64,10 @@ tvheadend.tvhlog = function(panel, index) {
     items = new Array();
     items.push(tvhlogLogPath);
     items.push(tvhlogToSyslog);
-    if (tvheadend.accessUpdate.trace)
+    if (tvheadend.capabilities.indexOf('trace') !== -1)
       items.push(tvhlogTraceOn);
     items.push(tvhlogDebugSubsys);
-    if (tvheadend.accessUpdate.trace)
+    if (tvheadend.capabilities.indexOf('trace') !== -1)
       items.push(tvhlogTraceSubsys);
 
     var DebuggingPanel = new Ext.form.FieldSet({