mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-21 17:48:43 +02:00
N°3098 - Portal with IE : apply a transition ends with blank page
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user