From 9ecaf8f01c807d439d176c53e41f225b0c65c56b Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Sun, 22 Sep 2013 13:30:36 +0100 Subject: [PATCH] webui: minor clean up of toolbar (in services panel) --- src/webui/static/app/idnode.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/webui/static/app/idnode.js b/src/webui/static/app/idnode.js index 374b2a4d..6c8a641c 100644 --- a/src/webui/static/app/idnode.js +++ b/src/webui/static/app/idnode.js @@ -721,7 +721,8 @@ tvheadend.idnode_grid = function(panel, conf) }); buttons.push(delBtn); } - buttons.push('-'); + if (conf.add || conf.del) + buttons.push('-'); editBtn = new Ext.Toolbar.Button({ tooltip : 'Edit selected entry', iconCls : 'edit',