You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

pd-forms

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pd-forms - npm Package Compare versions

Comparing version

to
4.1.2

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Customization of netteForms for use in PeckaDesign.",
"version": "4.1.1",
"version": "4.1.2",
"author": "PeckaDesign, s.r.o <support@peckadesign.cz>",

@@ -8,0 +8,0 @@ "contributors": [

/**
* @name pdForms
* @author Radek Šerý <radek.sery@peckadesign.cz>
* @version 4.1.1
* @version 4.1.2
*

@@ -48,3 +48,3 @@ * Features:

pdForms.version = '4.1.1';
pdForms.version = '4.1.2';

@@ -160,4 +160,5 @@

validate.forEach(function(elem) {
if (elem.getAttribute('data-pdforms-ever-focused') || elem.value !== '') {
if (elem.getAttribute('data-pdforms-ever-focused')) {
// assumes the input is valid, therefore removing all messages except those associated with ajax rules; this

@@ -716,9 +717,12 @@ // prevents flashing of message, when ajax rule is evaluated - ajax rules removes their messages when the ajax

*/
Nette.initForm = function (form) {
Nette.initForm = function (form, event) {
// Skip already initialized forms
if (form.noValidate) {
// Always call the original `initForm` method. This method handles already initialised forms itself.
pdForms.Nette.initForm(form, event);
return;
}
pdForms.Nette.initForm(form);
pdForms.Nette.initForm(form, event);

@@ -725,0 +729,0 @@ addDelegatedEventListener(form, 'focusout change', 'select, textarea, input:not([type="submit"]):not([type="reset"])', setEverFocused);

@@ -5,3 +5,3 @@ /**

*
* Lazyload of recaptcha scripts and lazy binding the validation after interaction with form (e.g. focus into input or
* Lazyload of recaptcha scripts and lazy binding the validation after interaction with form (eg. focus into input or
* change of radio button, etc.). This version also works with forms submitted using nette.ajax.

@@ -8,0 +8,0 @@ */