122,154d121
<     render_connection_features: function (value) {
<  	var ga = [];
< 
< 	if (!value || (value === '0')) {
< 	    return gettext('disabled');
< 	}
< 
< 	Ext.each(value.split(','), function(el) {
< 	    if (el === 'rdp') {
< 		ga.push(gettext('RDP'));
< 	    } else if (el === 'ws-rdp') {
< 		ga.push(gettext('Websocket RDP'));
< 	    } else if (el === 'ssh') {
< 		ga.push(gettext('SSH'));
< 	    } else if (el === 'ws-ssh') {
< 		ga.push(gettext('Websocket SSH'));
< 	    } else if (el === 'vnc') {
< 		ga.push(gettext('VNC'));
< 	    } else if (el === 'ws-vnc') {
< 		ga.push(gettext('Websocket VNC'));
< 	    } else if (el === 'nx') {
< 		ga.push(gettext('NX'));
< 	    } else if (el === 'ws-nx') {
< 		ga.push(gettext('Websocket NX'));
< 
< 	    } else {
< 		ga.push(el);
< 	    }
< 	});
< 
< 	return ga.join(', ');
<     },
< 
6138,6177d6104
< 
< Ext.define('PVE.form.ConnectionFeatureSelector', {
<     extend: 'PVE.form.KVComboBox',
<     alias: ['widget.pveConnectionFeatureSelector'],
<     multiSelect: false,
<     allowBlank: false,
<     deleteEmpty: true,
<     setValue: function(value, doSelect) {
< 	var me = this;
< 	if (me.multiSelect && Ext.isString(value)) {
< 	    if (value === '0') {
< 		value = [];
< 	    } else if (value === '1') {
< 		value = ['rdp', 'ws-rdp', 'ssh', 'ws-ssh', 'vnc', 'ws-vnc', 'nx', 'ws-nx' ];
< 	    } else {
< 		value = value.split(',');
< 	    }
< 	}
< 
< 	me.callParent([value, doSelect]);
<     },
< 
<     initComponent: function() {
< 	var me = this;
< 
< 	me.data = [['rdp', gettext('RDP')], 
< 		   ['ssh',  gettext('SSH')],
< 		   ['vnc',  gettext('VNC')],
< 		   ['nx',  gettext('NX')],
< 		   ['ws-rdp',  gettext('Websocket RDP')], 
< 		   ['ws-ssh',  gettext('Websocket SSH')],
< 		   ['ws-vnc',  gettext('Websocket VNC')],
< 		   ['ws-nx',  gettext('Websocket NX')]];
< 	
< 	me.callParent();
<     }
< });
< 
< 
< 
17877,17893d17803
< 		    }
< 		} : undefined
< 	    },
< 	    connection: {
< 		header: gettext('Connection'),
< 		defaultValue: false,
< 		renderer:  PVE.Utils.render_connection_features,
< 		editor: caps.vms['VM.Config.Options'] ? {
< 		    xtype: 'pveWindowEdit',
< 		    subject: gettext('Connection'),
< 		    items: {
< 			xtype: 'pveConnectionFeatureSelector',
< 			name: 'connection',
< 			value: '',
< 			multiSelect: false,
< 			fieldLabel: gettext('Connection'),
< 			allowBlank: false
