mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-14 06:02:01 +00:00
fix #1307: dont use language dependent separator in gui
by default, extjs submits the language dependent decimal separator, e.g. ',' for german and '.' for english but we always want '.' Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> (cherry picked from commit 5c660b6d1302a5fbb3dcf477cf8b5adc9f798530)
This commit is contained in:
parent
1d9bdf9dc6
commit
a6a6dedeef
@ -129,6 +129,13 @@ Ext.apply(Ext.form.field.VTypes, {
|
|||||||
HostListText: gettext('Not a valid list of hosts')
|
HostListText: gettext('Not a valid list of hosts')
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// since we always want the number in
|
||||||
|
// x.y format and never in e.g. x,y
|
||||||
|
Ext.define('PVE.form.field.Number', {
|
||||||
|
override: 'Ext.form.field.Number',
|
||||||
|
submitLocaleSeparator: false
|
||||||
|
});
|
||||||
|
|
||||||
// ExtJs 5-6 has an issue with caching
|
// ExtJs 5-6 has an issue with caching
|
||||||
// see https://www.sencha.com/forum/showthread.php?308989
|
// see https://www.sencha.com/forum/showthread.php?308989
|
||||||
Ext.define('PVE.UnderlayPool', {
|
Ext.define('PVE.UnderlayPool', {
|
||||||
|
Loading…
Reference in New Issue
Block a user