From 6264419944214c994f8498079ee88de22ab50ccd Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+studip@gmail.com>
Date: Thu, 16 Feb 2023 14:50:23 +0000
Subject: [PATCH] remove special handling of input[type=image][formaction],
 fixes #2177

Closes #2177

Merge request studip/studip!1405
---
 resources/assets/javascripts/bootstrap/forms.js | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/resources/assets/javascripts/bootstrap/forms.js b/resources/assets/javascripts/bootstrap/forms.js
index 611915e5570..161b6d608af 100644
--- a/resources/assets/javascripts/bootstrap/forms.js
+++ b/resources/assets/javascripts/bootstrap/forms.js
@@ -127,15 +127,6 @@ STUDIP.ready((event) => {
 });
 
 
-// simulate formaction attribute for input[type=image] in IE11
-$(document).on('click', 'input[type=image][formaction]', function() {
-    if ($(this).attr('data-confirm') === undefined) {
-        $(this)
-            .closest('form')
-            .attr('action', $(this).attr('formaction'));
-    }
-});
-
 // Use select2 for crossbrowser compliant select styling and
 // handling
 $.fn.select2.amd.define('select2/i18n/de', [], function() {
-- 
GitLab