fix lxc console selection ComboBox for extjs6

reasoning identic to

commit 8f8e8a2e06
adapt KVComboBoxes to pass store items using 'comboItems' parameter

commit f2782813cd
ext6migrate fix model behaviour for KVComboBox
This commit is contained in:
Emmanuel Kasper 2016-03-09 15:57:12 +01:00 committed by Dietmar Maurer
parent 67f010216a
commit c9d05dc8bb

View File

@ -107,9 +107,9 @@ Ext.define('PVE.lxc.Options', {
xtype: 'pveKVComboBox',
name: 'cmode',
deleteEmpty: true,
value: '',
data: [
['', PVE.Utils.defaultText + " (tty)"],
value: '__default__',
comboItems: [
['__default__', PVE.Utils.defaultText + " (tty)"],
['tty', "/dev/tty[X]"],
['console', "/dev/console"],
['shell', "shell"]