instead of having "Do not use a proxy" simply
use PVE.Utils.noneText, which defaults to 'none'
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
xtype: 'pvetextfield',
name: 'http_proxy',
vtype: 'HttpProxy',
- emptyText: gettext('Do not use any proxy'),
+ emptyText: PVE.Utils.noneText,
deleteEmpty: true,
value: '',
fieldLabel: gettext('HTTP proxy')
extend: 'PVE.grid.ObjectGrid',
alias: ['widget.pveDcOptionView'],
- noProxyText: gettext('Do not use any proxy'),
-
initComponent : function() {
var me = this;
required: true,
renderer: function(value) {
if (!value) {
- return me.noProxyText;
+ return PVE.Utils.noneText;
}
return value;
}