]>
git.proxmox.com Git - pve-manager.git/blob - www/manager/qemu/OSTypeEdit.js
1 Ext
.define('PVE.qemu.OSTypeInputPanel', {
2 extend
: 'PVE.panel.InputPanel',
3 alias
: 'widget.PVE.qemu.OSTypeInputPanel',
5 initComponent : function() {
11 html
: 'Microsoft Windows',
12 cls
:'x-form-check-group-label'
40 cls
:'x-form-check-group-label'
59 Ext
.Array
.each(me
.column1
, function(def
) {
61 def
.boxLabel
= PVE
.Utils
.render_kvm_ostype(def
.inputValue
);
64 Ext
.Array
.each(me
.column2
, function(def
) {
66 def
.boxLabel
= PVE
.Utils
.render_kvm_ostype(def
.inputValue
);
81 Ext
.define('PVE.qemu.OSTypeEdit', {
82 extend
: 'PVE.window.Edit',
84 initComponent : function() {
89 items
: Ext
.create('PVE.qemu.OSTypeInputPanel')
95 success: function(response
, options
) {
96 var value
= response
.result
.data
.ostype
|| 'other';
97 me
.setValues({ ostype
: value
});