From c9d05dc8bb11ebcb16cb635cb8259a14f97cd73c Mon Sep 17 00:00:00 2001 From: Emmanuel Kasper Date: Wed, 9 Mar 2016 15:57:12 +0100 Subject: [PATCH] fix lxc console selection ComboBox for extjs6 reasoning identic to commit 8f8e8a2e0614c796f25bc709e1e10af27e4a44da adapt KVComboBoxes to pass store items using 'comboItems' parameter commit f2782813cd763382a1bbc1ce43121e21377efe4f ext6migrate fix model behaviour for KVComboBox --- www/manager6/lxc/Options.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/manager6/lxc/Options.js b/www/manager6/lxc/Options.js index 4408114f..c5a1c0f3 100644 --- a/www/manager6/lxc/Options.js +++ b/www/manager6/lxc/Options.js @@ -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"]