mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
fix nothing input into number-field results into 0 causing e.g. timesheet quantity to be always 0
This commit is contained in:
parent
b517cbaf94
commit
160de9446b
@ -161,11 +161,7 @@ export class Et2Number extends Et2Textbox
|
||||
{
|
||||
let val = super.value;
|
||||
|
||||
if(val === "")
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
else if("" + val !== "")
|
||||
if("" + val !== "")
|
||||
{
|
||||
// remove decimal separator from user prefs
|
||||
const format = this.egw().preference('number_format');
|
||||
|
Loading…
Reference in New Issue
Block a user