Mercurial > lada > lada-client
changeset 1169:e552e82ceb8a
Teilintervall and offset must be integer.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 01 Jul 2016 14:12:54 +0200 |
parents | 40a07eb873bf |
children | 9182430b79d7 |
files | app/view/form/Messprogramm.js app/view/widget/base/NumberField.js |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/app/view/form/Messprogramm.js Fri Jul 01 14:01:02 2016 +0200 +++ b/app/view/form/Messprogramm.js Fri Jul 01 14:12:54 2016 +0200 @@ -214,6 +214,7 @@ name: 'probenintervall' }, { xtype: 'numfield', + allowDecimals: false, fieldLabel: i18n.getMsg('teilintervallVon'), margin: '0, 10, 5, 10', labelWidth: 90, @@ -222,6 +223,7 @@ period: 'start' }, { xtype: 'numfield', + allowDecimals: false, fieldLabel: i18n.getMsg('teilintervallBis'), margin: '0, 15, 5, 5', labelWidth: 18, @@ -230,6 +232,7 @@ period: 'end' }, { xtype: 'numfield', + allowDecimals: false, margin: '0, 10, 5, 5', fieldLabel: i18n.getMsg('offset'), labelWidth: 45,
--- a/app/view/widget/base/NumberField.js Fri Jul 01 14:01:02 2016 +0200 +++ b/app/view/widget/base/NumberField.js Fri Jul 01 14:12:54 2016 +0200 @@ -24,6 +24,7 @@ flex: 1, name: this.name, msgTarget: 'none', + allowDecimals: this.allowDecimals, maxLength: this.maxLength || 1000, enforceMaxLength: this.enforceMaxLength || true, fieldLabel: this.fieldLabel,