From a31bcc9786754ad4945f07741c54f8877f869011 Mon Sep 17 00:00:00 2001 From: Leandro Roberto Date: Sun, 26 Aug 2018 23:07:57 -0300 Subject: [PATCH] corrige href de redirecionamento de iframe --- sapl/templates/base.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sapl/templates/base.html b/sapl/templates/base.html index 61db86669..8c4e24b6c 100644 --- a/sapl/templates/base.html +++ b/sapl/templates/base.html @@ -262,8 +262,7 @@ $(document).ready(function(){ let iframe_set_backend = {{ request|has_iframe|lower }} if (iframe_set_backend && !inIframe() ) { - let href = location.href - location.href = href + '?iframe=0' + location.href = location.origin + '?iframe=0' } });