Commit ce99421d authored by Pierre Dittgen's avatar Pierre Dittgen

Open error buble links in new tab/window

parent 6295d2f5
Pipeline #1116 failed with stage
in 4 minutes and 58 seconds
......@@ -176,5 +176,15 @@ $('[data-toggle="popover"]').popover({
}, 100);
// Open links found in error description in a new window/tab
$('body').on('mouseover', 'div.popover a', function() {
$(this).prop('title', 'Ouvrir dans une nouvelle fenêtre');
$('body').on('click', 'div.popover a', function() {
var url = $(this).prop('href');, '_blank')
return false;
{% endblock %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment