]> git.proxmox.com Git - pve-manager.git/blob - www/manager6/storage/DirEdit.js
ui: eslint: fix trailing comma and comma related whitespaces errors
[pve-manager.git] / www / manager6 / storage / DirEdit.js
1 Ext.define('PVE.storage.DirInputPanel', {
2 extend: 'PVE.panel.StorageBase',
3
4 onlineHelp: 'storage_directory',
5
6 initComponent : function() {
7 var me = this;
8
9 me.column1 = [
10 {
11 xtype: me.isCreate ? 'textfield' : 'displayfield',
12 name: 'path',
13 value: '',
14 fieldLabel: gettext('Directory'),
15 allowBlank: false,
16 },
17 {
18 xtype: 'pveContentTypeSelector',
19 name: 'content',
20 value: 'images',
21 multiSelect: true,
22 fieldLabel: gettext('Content'),
23 allowBlank: false,
24 },
25 ];
26
27 me.column2 = [
28 {
29 xtype: 'proxmoxcheckbox',
30 name: 'shared',
31 uncheckedValue: 0,
32 fieldLabel: gettext('Shared'),
33 },
34 ];
35
36 me.callParent();
37 },
38 });