From 3ddf768edf42fad6130a456fd952363350b83dc4 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 20 Jan 2015 14:40:12 +0100 Subject: [PATCH] WEBUI DVR: Fix the additional rows in the column header menus, fixes #2571 --- src/webui/static/app/dvr.js | 2 +- src/webui/static/app/idnode.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/webui/static/app/dvr.js b/src/webui/static/app/dvr.js index 9c28a597..960dc252 100644 --- a/src/webui/static/app/dvr.js +++ b/src/webui/static/app/dvr.js @@ -370,7 +370,7 @@ tvheadend.dvr_failed = function(panel, index) { direction: 'ASC' }, plugins: [actions], - lcol: [ + lcol: [ actions, { width: 40, diff --git a/src/webui/static/app/idnode.js b/src/webui/static/app/idnode.js index c7e0627e..dd8ceda4 100644 --- a/src/webui/static/app/idnode.js +++ b/src/webui/static/app/idnode.js @@ -1017,7 +1017,7 @@ tvheadend.idnode_grid = function(panel, conf) var fields = []; var buttons = []; var abuttons = {}; - var plugins = conf.plugins || []; + var plugins = conf.plugins.slice() || []; /* Some copies */ if (conf.add && !conf.add.titleS && conf.titleS) @@ -1530,7 +1530,7 @@ tvheadend.idnode_form_grid = function(panel, conf) var columns = []; var buttons = []; var abuttons = {}; - var plugins = conf.plugins || []; + var plugins = conf.plugins.slice() || []; var current = null; var selectuuid = null;