Skip to content
Snippets Groups Projects
Commit bd7c1e42 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

exclude elements with [data-secure] from nested checks, fixes #611

parent 4d0b5284
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,7 @@ function detectChanges(context) {
var data = $(this).data().secure;
var config = normalizeConfig(data);
var items = $(this).is('form') ? $(this).find(':input') : $(this);
var items = $(this).is('form') ? $(this).find(':input:not([data-secure])') : $(this);
if (config.always === true) {
changed = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment