mirror of
https://github.com/humhub/humhub.git
synced 2025-03-23 16:39:45 +01:00
Added select2 search input field support within bootstrap modals.
This commit is contained in:
parent
d89c16a377
commit
e74de51184
@ -128,7 +128,7 @@ function HashTable(obj) {
|
||||
$.fn.modal.Constructor.prototype.enforceFocus = function () {
|
||||
var that = this;
|
||||
$(document).on('focusin.modal', function (e) {
|
||||
if ($(e.target).hasClass('select2-input') || $(e.target).hasClass('hexInput')) {
|
||||
if ($(e.target).hasClass('select2-input') || $(e.target).hasClass('select2-search__field') || $(e.target).hasClass('hexInput') ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user