[pve-devel] [PATCH pve-manager 1/6] fix lxc console selection ComboBox for extjs6
Emmanuel Kasper
e.kasper at proxmox.com
Wed Mar 9 15:57:12 CET 2016
reasoning identic to
commit 548b29644df81408fc0fb4f3f450047e906c26c7
adapt KVComboBoxes to pass store items using 'comboItems' parameter
commit 7515e62236b9f3c8317c3aa0dbf470e2b8efdd71
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 4408114..c5a1c0f 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"]
--
2.1.4
More information about the pve-devel
mailing list