Signed-off-by: Lorenz Stechauner <l.stechau...@proxmox.com>
---
 www/manager6/Makefile                      |  1 +
 www/manager6/form/PreallocationSelector.js | 11 +++++++++++
 2 files changed, 12 insertions(+)
 create mode 100644 www/manager6/form/PreallocationSelector.js

diff --git a/www/manager6/Makefile b/www/manager6/Makefile
index 7d491f57..0804786d 100644
--- a/www/manager6/Makefile
+++ b/www/manager6/Makefile
@@ -49,6 +49,7 @@ JSSRC=                                                        
\
        form/PCISelector.js                             \
        form/PermPathSelector.js                        \
        form/PoolSelector.js                            \
+       form/PreallocationSelector.js                   \
        form/PrivilegesSelector.js                      \
        form/QemuBiosSelector.js                        \
        form/SDNControllerSelector.js                   \
diff --git a/www/manager6/form/PreallocationSelector.js 
b/www/manager6/form/PreallocationSelector.js
new file mode 100644
index 00000000..49ea95bb
--- /dev/null
+++ b/www/manager6/form/PreallocationSelector.js
@@ -0,0 +1,11 @@
+Ext.define('PVE.form.preallocationSelector', {
+    extend: 'Proxmox.form.KVComboBox',
+    alias: ['widget.pvePreallocationSelector'],
+    comboItems: [
+       ['__default__', Proxmox.Utils.defaultText],
+       ['off', 'Off'],
+       ['metadata', 'Metadata'],
+       ['falloc', 'Full (posix_fallocate)'],
+       ['full', 'Full'],
+    ],
+});
-- 
2.30.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to