]> git.proxmox.com Git - pve-manager.git/blobdiff - www/manager6/form/IPRefSelector.js
ui: backup job: avoid row wrapping due to overly long label
[pve-manager.git] / www / manager6 / form / IPRefSelector.js
index d766213611fe8c4a679951d94bb9191803a529d7..1c3bb649d8a24e75744a605c956be96e5aa1aaa7 100644 (file)
@@ -26,16 +26,16 @@ Ext.define('PVE.form.IPRefSelector', {
 
        var store = Ext.create('Ext.data.Store', {
            autoLoad: true,
-           fields: [ 'type', 'name', 'ref', 'comment' ],
+           fields: ['type', 'name', 'ref', 'comment'],
            idProperty: 'ref',
            proxy: {
                type: 'proxmox',
-               url: url
+               url: url,
            },
            sorters: {
                property: 'ref',
-               order: 'DESC'
-           }
+               order: 'DESC',
+           },
        });
 
        var disable_query_for_ips = function(f, value) {
@@ -54,7 +54,7 @@ Ext.define('PVE.form.IPRefSelector', {
                header: gettext('Type'),
                dataIndex: 'type',
                hideable: false,
-               width: 60
+               width: 60,
            });
        }
 
@@ -63,24 +63,24 @@ Ext.define('PVE.form.IPRefSelector', {
                header: gettext('Name'),
                dataIndex: 'ref',
                hideable: false,
-               width: 140
+               width: 140,
            },
            {
                header: gettext('Comment'),
                dataIndex: 'comment',
                renderer: Ext.String.htmlEncode,
-               flex: 1
-           }
+               flex: 1,
+           },
        );
 
        Ext.apply(me, {
            store: store,
-            listConfig: { columns: columns }
+            listConfig: { columns: columns },
        });
 
        me.on('change', disable_query_for_ips);
 
         me.callParent();
-    }
+    },
 });