Set highlights once folder anim done

Was previously attempting highlights on folder open, needs to be when
anim is done
This commit is contained in:
Matt Pass
2013-07-21 19:00:01 +01:00
parent aaa10a5fff
commit 98514ac46f

View File

@@ -80,12 +80,12 @@ if (isset($_GET['location'])) {
if (j==folderItems.length) {
clearInterval(animFolders);
showContent = showContent.slice(0,-2);
setTimeout(function(){top.ICEcoder.redoTabHighlight(top.ICEcoder.selectedTab);},4);
if (!top.ICEcoder.fmReady) {top.ICEcoder.fmReady=true;};
}
newUL.innerHTML = showContent;
locNest.parentNode.insertBefore(newUL,locNest.nextSibling);
},4);
top.ICEcoder.redoTabHighlight(top.ICEcoder.selectedTab);
}
</script>
<?php