Commit 81cbd144 authored by Tino Goratsch's avatar Tino Goratsch

do not scroll to the first form error if the AJAX form is inside a modal

parent ddecb612
Pipeline #37325835 passed with stages
in 8 minutes and 11 seconds
......@@ -330,6 +330,10 @@
const $form = $(this.element);
const $formErrors = $form.find('.form-group.has-error');
if ($form.closest('.modal').length > 0) {
return;
}
if (!$formErrors || $formErrors.length === 0) {
return;
}
......
......@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
- Fixed the sort direction of the SortColumnRenderer when using the data grids in AJAX mode
- do not scroll to the first form error if the AJAX form is inside a modal
## [4.32.0] - 2018-11-07
### Changed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment