View | Details | Raw Unified | Return to bug 17942
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/installer-doc-head-close.inc (-1 / +13 lines)
Lines 14-16 Link Here
14
        function _(s) { return s } // dummy function for gettext
14
        function _(s) { return s } // dummy function for gettext
15
    //]]>
15
    //]]>
16
</script>
16
</script>
17
- 
17
18
[%# Prevent XFS attacks -%]
19
<script type="text/javascript">
20
$(document).ready(function() {
21
   if (self === top) {
22
       var antiClickjack = document.getElementById("antiClickjack");
23
       antiClickjack.parentNode.removeChild(antiClickjack);
24
   } else {
25
       top.location = self.location;
26
   }
27
});
28
</script>
29
<style id="antiClickjack">body{display:none !important;}</style>

Return to bug 17942