Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1165
dialog from iframe fails after updating to IgniteUI_v13-2.2157 service release
posted

hi,
i have installed the new SR 13.2.2157
when trying to open the dialog from  iframe in order to view external pages, like in your sample in

http://www.igniteui.com/dialog-window/loading-external-page

i get an error.
If i replace the iframe with a div it all works fine.
 here is my code :

 

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<!--<link href="../css/normalize.min.css" rel="stylesheet" />-->
<link href="../css/JQueryUI/cupertino/jquery-ui-1.10.4.custom.min.css" rel="stylesheet" />
</head>
<body>


<!--<div id="dlg"></div>-->
<iframe id="dlg" src="http://es.infragistics.com" frameborder="0"></iframe>

<script src="../Scripts/lib/jquery-2.0.3.min.js"></script>
<script src="../Scripts/lib/jquery-ui-1.10.4.custom.min.js"></script>
<script src="../Scripts/lib/modernizr-2.7.1.min.js"></script>
<script src="../Scripts/lib/IG/infragistics.loader.js"></script>

<script>
$.ig.loader({
scriptPath: '../Scripts/lib/IG/',
cssPath: '../css/IG/',
resources: 'igDialog',
theme: ""
});

$.ig.loader(function () {
$("#dlg").igDialog({
height: 200,
width: 400,
headerText: "http://es.infragistics.com",
showMinimizeButton: true,
showMaximizeButton: true,
showPinButton: true
});
});
</script>
</body>
</html>

i get an error from chrome dev tools :

  1. Uncaught TypeError: Cannot read property 'ownerDocument' of null jquery-2.0.3.js:1687
    1. u.containsjquery-2.0.3.js:1687
    2. i.extend.buildFragmentjquery-2.0.3.js:5822
    3. i.fn.extend.domManipjquery-2.0.3.js:5631
    4. i.fn.extend.appendjquery-2.0.3.js:5453
    5. i.fn.(anonymous function)jquery-2.0.3.js:5705
    6. $.widget._createinfragistics.ui.dialog.js:27
    7. (anonymous function)jquery-ui-1.10.4.custom.min.js:6
    8. t.Widget._createWidgetjquery-ui-1.10.4.custom.min.js:6
    9. $.Widget._createWidgetinfragistics.util.js:24
    10. t.(anonymous function).(anonymous function)jquery-ui-1.10.4.custom.min.js:6
    11. (anonymous function)jquery-ui-1.10.4.custom.min.js:6
    12. i.extend.eachjquery-2.0.3.js:590
    13. i.fn.i.eachjquery-2.0.3.js:237
    14. t.fn.(anonymous function)jquery-ui-1.10.4.custom.min.js:6
    15. (anonymous function)HtmlPage1.html:28
    16. $.extend._notifyLoadedinfragistics.loader.js:8
    17. (anonymous function)infragistics.loader.js:8
    18. $.extend._waitFireCallbackinfragistics.loader.js:8
    19. (anonymous function)infragistics.loader.js:8
    20. $.extend._callbackinfragistics.loader.js:8
    21. (anonymous function)infragistics.loader.js:8
    22. $.ig._loadWorkItem._loadMonitorinfragistics.loader.js:9
    23. $.ig._loadWorkItem._scriptLoadedinfragistics.loader.js:9
    24. s.onreadystatechange.s.onload

when i use version 13.2.2055 - it all works fine

Thanks in advance 

Parents
No Data
Reply
  • 29417
    Offline posted

     Hello amos_silberman ,

     

    Thank you for posting in our forum.

     

    I’ve tested and confirmed that this is a newly introduced issue. I’ve logged it as a development issue with number : 168186.

    I’ve opened a private case for you with number : CAS-133885-P6G0L2 so that you may track the development issue’s progress.

    I’ll update you with any new information after the review via the case.

    You can view the status of the development issue connected to that case by selecting the "Development Issues" tab when viewing this case on the web site. 

     

    Please let me know if you need more information.

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer II

    Infragistics, Inc.

    http://es.infragistics.com/support

     

Children