Ajax: Always use script injection in globalEval

Fixes #14757
Ref bbdfbb4ee8
This commit is contained in:
Oleg Gaidarenko
2014-06-16 01:45:24 +04:00
parent 76294e1e9e
commit 37f0f7f42c
6 changed files with 62 additions and 44 deletions

View File

@@ -8,7 +8,7 @@
<body>
<script type="text/javascript">
jQuery( document ).ready(function () {
jQuery( document ).ready(function() {
window.parent.iframeCallback( jQuery('#container').length === 1 );
});
</script>
@@ -17,7 +17,7 @@ jQuery( document ).ready(function () {
oldIE into thinking the dom is ready, but it's not...
leaving this check here for future trailblazers to attempt
fixing this...-->
<script type="text/javascript" src="longLoadScript.php?sleep=1"></script>
<script type="text/javascript" src="../longLoadScript.php?sleep=1"></script>
<div id="container" style="height: 300px"></div>
</body>
</html>