Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82451

Submission is called twice when a server error occours

$
0
0

Hello,
I'm using editor in inline mode with following config
[...]
formOptions: {
inline: {
onBlur: 'submit',
submit: 'allIfChanged'
}
}
[...]

My problem is that when a server error occours during submit, submission is performed twice.
When an (ajax) server error occours I have a code like this:
success({ data: [], error: 'There is some error' });

The error string is correctly showed under the field, but the ajax submission call is made again.

Can anyone help me with this?
Thanks!


Viewing all articles
Browse latest Browse all 82451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>