Skip to content

Conversation

@hranicka
Copy link
Contributor

When I create form and not all of inputs are rendered, JavaScript fails with errors.

So I've added these simple conditions that check if DOM Node exists or not.

Maybe, it should write console.error or something like this instead of silent ignore.

dg added a commit that referenced this pull request Feb 19, 2015
netteForms.js: Fixed errors for rules on non-present elements
@dg dg merged commit 66a3f8a into nette:master Feb 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants