]>
git.proxmox.com Git - pve-manager.git/blob - www/manager6/qemu/OSTypeEdit.js
1 Ext
.define('PVE.qemu.OSTypeInputPanel', {
2 extend
: 'PVE.panel.InputPanel',
3 alias
: 'widget.pveQemuOSTypePanel',
4 onlineHelp
: 'chapter-qm.html#_os_settings',
6 initComponent : function() {
12 html
: 'Microsoft Windows',
13 cls
:'x-form-check-group-label'
45 html
: 'Linux/' + gettext('Other OS types'),
46 cls
:'x-form-check-group-label'
70 Ext
.Array
.each(me
.column1
, function(def
) {
72 def
.boxLabel
= PVE
.Utils
.render_kvm_ostype(def
.inputValue
);
75 Ext
.Array
.each(me
.column2
, function(def
) {
77 def
.boxLabel
= PVE
.Utils
.render_kvm_ostype(def
.inputValue
);
92 Ext
.define('PVE.qemu.OSTypeEdit', {
93 extend
: 'PVE.window.Edit',
95 initComponent : function() {
100 items
: Ext
.create('PVE.qemu.OSTypeInputPanel')
106 success: function(response
, options
) {
107 var value
= response
.result
.data
.ostype
|| 'other';
108 me
.setValues({ ostype
: value
});