Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Tinebase/Percent): allowDecimal config doesn´t work
Browse files Browse the repository at this point in the history
Change-Id: Ic7afdb7a2351e4eb7e7bedaaa5403e9bb00e5809
Reviewed-on: http://gerrit.tine20.com/customers/18335
Tested-by: Jenkins CI (http://ci.tine20.com/) <tine20-jenkins@metaways.de>
Reviewed-by: Philipp Schüle <p.schuele@metaways.de>
  • Loading branch information
Christian Feitl authored and pschuele committed Nov 30, 2020
1 parent aa6354d commit f6c93ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tine20/Tinebase/js/ux/form/NumberField.js
Expand Up @@ -88,7 +88,7 @@ Ext.ux.form.NumberField = Ext.extend(Ext.form.NumberField, {
var decimalString = split[1];
}

while (decimalString.length < this.decimalPrecision) {
while (this.allowDecimals && decimalString.length < this.decimalPrecision) {
decimalString += '0';
}

Expand Down

0 comments on commit f6c93ae

Please sign in to comment.