Browse Source

corrige href de redirecionamento de iframe

rate-limiter-2026
Leandro Roberto 8 years ago
parent
commit
9f2027772e
  1. 3
      sapl/templates/base.html

3
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'
}
});
</script>

Loading…
Cancel
Save