mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 18:31:37 +02: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
|
// Clear actual value to update if it was nearly the same
|
||||||
const old_val = parseInt(widget._oldValue) / 60;
|
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 = "";
|
quantity.value = "";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user