mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 01:18:42 +01:00
ignore stepMismatch html5 validation errors, the are generated for every float number
This commit is contained in:
parent
51ec978f82
commit
ae19dff1d4
@ -80,7 +80,7 @@ var et2_number = et2_textbox.extend(
|
|||||||
{
|
{
|
||||||
var ok = true;
|
var ok = true;
|
||||||
// if we have a html5 validation error, show it, as this.input.val() will be empty!
|
// if we have a html5 validation error, show it, as this.input.val() will be empty!
|
||||||
if (this.input && this.input[0] && this.input[0].validationMessage)
|
if (this.input && this.input[0] && this.input[0].validationMessage && !this.input[0].validity.stepMismatch)
|
||||||
{
|
{
|
||||||
_messages.push(this.input[0].validationMessage);
|
_messages.push(this.input[0].validationMessage);
|
||||||
ok = false;
|
ok = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user