[Lada-commits] [PATCH 4 of 4] Teilintervall and offset must be integer
Wald Commits
scm-commit at wald.intevation.org
Fri Jul 1 14:16:38 CEST 2016
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1467375174 -7200
# Node ID e552e82ceb8a5ee06ffffc2fa6b3c27e2cfa3fe1
# Parent 40a07eb873bf27fd99c6e2af2bc5ce6e26539e5a
Teilintervall and offset must be integer.
diff -r 40a07eb873bf -r e552e82ceb8a app/view/form/Messprogramm.js
--- 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,
diff -r 40a07eb873bf -r e552e82ceb8a app/view/widget/base/NumberField.js
--- 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,
More information about the Lada-commits
mailing list