Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WEBUI: debugging - fix trace detection
  • Loading branch information
perexg committed Jun 2, 2015
1 parent f8dc92c commit 8848722
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webui/static/app/tvhlog.js
Expand Up @@ -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({
Expand Down

0 comments on commit 8848722

Please sign in to comment.