Skip to content
Snippets Groups Projects
Commit a5ac0367 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by David Siegfried
Browse files

dialogs: assume valid validity on all links, fixes #1210

Closes #1210

Merge request studip/studip!719
parent df3965cd
No related branches found
No related tags found
No related merge requests found
...@@ -673,6 +673,10 @@ Dialog.removeHeaderHandler = function (header) { ...@@ -673,6 +673,10 @@ Dialog.removeHeaderHandler = function (header) {
Dialog.initialize = function() { Dialog.initialize = function() {
function checkValidity(element) { function checkValidity(element) {
if (element.matches('a')) {
return true;
}
const form = element.closest('form'); const form = element.closest('form');
if (form === null) { if (form === null) {
return true; return 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