From 884872251036df9c2ac8185795790b2d77e561ec Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 2 Jun 2015 11:00:53 +0200 Subject: [PATCH] WEBUI: debugging - fix trace detection --- src/webui/static/app/tvhlog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webui/static/app/tvhlog.js b/src/webui/static/app/tvhlog.js index 6e680be6f..63336643c 100644 --- a/src/webui/static/app/tvhlog.js +++ b/src/webui/static/app/tvhlog.js @@ -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({ -- 2.47.2