Skip to content

Commit

Permalink
Přidání event parametru, který je i v původní metodě.
Browse files Browse the repository at this point in the history
  • Loading branch information
zipper committed Sep 4, 2024
1 parent 894c436 commit 4ec102f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/assets/pdForms.js
Original file line number Diff line number Diff line change
Expand Up @@ -712,9 +712,9 @@
/**
* Setup handlers.
*/
Nette.initForm = function (form) {
Nette.initForm = function (form, event) {
// Always call the original `initForm` method. This method handles already initialised forms itself.
pdForms.Nette.initForm(form);
pdForms.Nette.initForm(form, event);

// Skip already initialized forms
if (form.noValidate) {
Expand Down

0 comments on commit 4ec102f

Please sign in to comment.