From: Jaroslav Kysela Date: Tue, 2 Jun 2015 09:00:53 +0000 (+0200) Subject: WEBUI: debugging - fix trace detection X-Git-Tag: v4.2.1~2396 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=884872251036df9c2ac8185795790b2d77e561ec;p=thirdparty%2Ftvheadend.git WEBUI: debugging - fix trace detection --- 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({