mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Timesheet: Fix quantity update to work with comma decimal separator
This commit is contained in:
parent
e96031c154
commit
bcf211c93f
@ -216,7 +216,7 @@ class TimesheetApp extends EgwApp
|
||||
|
||||
// Clear actual value to update if it was nearly the same
|
||||
const old_val = parseInt(widget._oldValue) / 60;
|
||||
if(Math.abs(parseFloat(quantity.value) - old_val) < 0.01)
|
||||
if(Math.abs(quantity.valueAsNumber - old_val) < 0.01)
|
||||
{
|
||||
quantity.value = "";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user