From: Jaroslav Kysela Date: Tue, 20 Jan 2015 13:40:12 +0000 (+0100) Subject: WEBUI DVR: Fix the additional rows in the column header menus, fixes #2571 X-Git-Tag: v4.1~448 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ddf768edf42fad6130a456fd952363350b83dc4;p=thirdparty%2Ftvheadend.git WEBUI DVR: Fix the additional rows in the column header menus, fixes #2571 --- diff --git a/src/webui/static/app/dvr.js b/src/webui/static/app/dvr.js index 9c28a5979..960dc2529 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 c7e0627ed..dd8ceda4c 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;