Browse Source

corrige href de redirecionamento de iframe

pull/2170/head
Leandro Roberto 7 years ago
parent
commit
a31bcc9786
  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