From 4ec102f21d1901138bea58a91bf9b74a068a2833 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20=C5=A0er=C3=BD?= Date: Wed, 4 Sep 2024 17:04:27 +0200 Subject: [PATCH] =?UTF-8?q?P=C5=99id=C3=A1n=C3=AD=20event=20parametru,=20k?= =?UTF-8?q?ter=C3=BD=20je=20i=20v=20p=C5=AFvodn=C3=AD=20metod=C4=9B.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/pdForms.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assets/pdForms.js b/src/assets/pdForms.js index 3113a0c..911d324 100644 --- a/src/assets/pdForms.js +++ b/src/assets/pdForms.js @@ -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) {