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.3

2

package.json

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

"description": "Customization of netteForms for use in PeckaDesign.",
"version": "4.1.2",
"version": "4.1.3",
"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.2
* @version 4.1.3
*

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

pdForms.version = '4.1.2';
pdForms.version = '4.1.3';

@@ -163,7 +163,2 @@

if (elem.getAttribute('data-pdforms-ever-focused')) {
// assumes the input is valid, therefore removing all messages except those associated with ajax rules; this
// prevents flashing of message, when ajax rule is evaluated - ajax rules removes their messages when the ajax
// rule is evaluated
pdForms.removeMessages(elem, false);
var rules = JSON.parse(elem.getAttribute('data-nette-rules') || '[]');

@@ -630,2 +625,7 @@ rules = pdForms.normalizeRules(rules);

Nette.validateControl = function(elem, rules, onlyCheck, value, emptyOptional) {
// assumes the input is valid, therefore removing all messages except those associated with ajax rules; this
// prevents flashing of message, when ajax rule is evaluated - ajax rules removes their messages when the ajax
// rule is evaluated
pdForms.removeMessages(elem, false);
elem = elem.tagName ? elem : elem[0]; // RadioNodeList

@@ -632,0 +632,0 @@