diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-01-27 14:53:21 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-01-27 14:53:21 +0000 |
| commit | bd7c1e42c2d8c9dfff3c7c979f748d338b0247c6 (patch) | |
| tree | eb77e702f62e0c88b6e9523b778c88ac02db937e /resources/assets/javascripts/bootstrap/data_secure.js | |
| parent | 4d0b5284a6eac8927644d7aba3818d0cb3848064 (diff) | |
exclude elements with [data-secure] from nested checks, fixes #611
Diffstat (limited to 'resources/assets/javascripts/bootstrap/data_secure.js')
| -rw-r--r-- | resources/assets/javascripts/bootstrap/data_secure.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/assets/javascripts/bootstrap/data_secure.js b/resources/assets/javascripts/bootstrap/data_secure.js index 3837df7..a1a5ac7 100644 --- a/resources/assets/javascripts/bootstrap/data_secure.js +++ b/resources/assets/javascripts/bootstrap/data_secure.js @@ -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; |
