]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WEBUI JS: DVR autorec - fixed enable/enabled typo, better grid row column sizes
authorJaroslav Kysela <perex@perex.cz>
Fri, 5 Sep 2014 19:17:36 +0000 (21:17 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 8 Sep 2014 14:49:00 +0000 (16:49 +0200)
src/webui/static/app/dvr.js

index 1f438a2fc064576d7d9c643998de262dfff8fbb4..af6866e1b9222992555c89fba67337a0891e66a4 100644 (file)
@@ -316,16 +316,31 @@ tvheadend.autorec_editor = function(panel, index) {
         titleP: 'DVR AutoRec Entries',
         iconCls: 'wand',
         tabIndex: index,
+        columns: {
+            enabled:      { width: 50 },
+            title:        { width: 300 },
+            channel:      { width: 200 },
+            tag:          { width: 200 },
+            content_type: { width: 100 },
+            minduration:  { width: 80 },
+            maxduration:  { width: 80 },
+            weekdays:     { width: 160 },
+            start:        { width: 100 },
+            pri:          { width: 80 },
+            config_name:  { width: 120 },
+            creator:      { width: 200 },
+            comment:      { width: 200 },
+        },
         add: {
             url: 'api/dvr/autorec',
             params: {
-               list: 'enable,title,channel,tag,content_type,minduration,' +
+               list: 'enabled,title,channel,tag,content_type,minduration,' +
                      'maxduration,weekdays,start,pri,config_name,comment',
             },
             create: { }
         },
         del: true,
-        list: 'enable,title,channel,tag,content_type,minduration,' +
+        list: 'enabled,title,channel,tag,content_type,minduration,' +
               'maxduration,weekdays,start,pri,config_name,creator,comment',
         sort: {
           field: 'name',