parent.parent. needed

This commit is contained in:
mattpass
2020-02-28 17:34:02 +00:00
parent 57681e0612
commit b500a728f2

View File

@@ -377,7 +377,7 @@ if (!isset($ftpSite) && $_SESSION['githubDiff']) {
}
?>
<script>
targetElem = parent.ICEcoder.filesFrame.contentWindow.document.getElementById('<?php echo xssClean($_GET['location'],"html");?>');
targetElem = parent.parent.ICEcoder.filesFrame.contentWindow.document.getElementById('<?php echo xssClean($_GET['location'],"html");?>');
newUL = document.createElement("ul");
newUL.style = "display: block";
locNest = targetElem.parentNode.parentNode;