]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WEBUI DVR: Fix the additional rows in the column header menus, fixes #2571
authorJaroslav Kysela <perex@perex.cz>
Tue, 20 Jan 2015 13:40:12 +0000 (14:40 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 20 Jan 2015 13:40:12 +0000 (14:40 +0100)
src/webui/static/app/dvr.js
src/webui/static/app/idnode.js

index 9c28a59798d82285f2cf22b47e9d2f831e0decc8..960dc25294427ac74167b530028cec4c0dc593c1 100644 (file)
@@ -370,7 +370,7 @@ tvheadend.dvr_failed = function(panel, index) {
           direction: 'ASC'
         },
         plugins: [actions],
-               lcol: [
+        lcol: [
             actions,
             {
                 width: 40,
index c7e0627ed8939406335df10b208719b41518fe0e..dd8ceda4cf6338eb6288813499a914f44dcdcae9 100644 (file)
@@ -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;