N°3098 - Portal with IE : apply a transition ends with blank page

This commit is contained in:
acognet
2020-06-09 16:54:06 +02:00
parent 6966c0498a
commit 36804dfcf4

View File

@@ -8,7 +8,14 @@
{% if redirection is defined and redirection.url is defined %}
<script type="text/javascript">
$(document).ready( function(){
window.location = '{{ redirection.url|raw }}';
if ('{{ redirection.url|raw }}' =='')
{
window.location.href = window.location.href;
}
else
{
window.location = '{{ redirection.url|raw }}';
}
});
</script>
{% endif %}