mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
fix focus in ui dialog
This commit is contained in:
@@ -155,6 +155,13 @@
|
|||||||
$('body').addClass('{{ cssfile }}');
|
$('body').addClass('{{ cssfile }}');
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// manage focus in a ui dialog
|
||||||
|
$(document).on('focusin', function(e) {
|
||||||
|
if ($(event.target).closest(".mce-window").length) {
|
||||||
|
e.stopImmediatePropagation();
|
||||||
|
}
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
{% include "common/templates.html.twig" %}
|
{% include "common/templates.html.twig" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Reference in New Issue
Block a user