Fixes #2609 - Zammad shows Customers in Owner-Selection on IE (root cause: App.ControllerForm returns no params on IE 11).

This commit is contained in:
Rolf Schmidt 2020-08-04 11:48:25 +02:00 committed by Thorsten Eckel
parent 57176aedbb
commit abfb34dc7e

View file

@ -230,8 +230,9 @@ jQuery.fn.extend( {
var rcheckableType = ( /^(?:checkbox|radio)$/i ); var rcheckableType = ( /^(?:checkbox|radio)$/i );
return this.map( function() { return this.map( function() {
// Can add propHook for "elements" to filter or add form elements // We dont use jQuery.prop( this, "elements" ); here anymore
var elements = jQuery.prop( this, "elements" ); // because it did not work out for IE 11
var elements = $(this).find('*').filter(':input');
return elements ? jQuery.makeArray( elements ) : this; return elements ? jQuery.makeArray( elements ) : this;
} ) } )
.filter( function() { .filter( function() {