JakeStoeffler / code_embed_lti

LTI tool that allows users to embed an HTML/JS-based code editor in their LMS per standard LTI.
Apache License 2.0
12 stars 4 forks source link

Code editor doesn't load in IE11 #4

Open nathaniel-teals opened 9 years ago

nathaniel-teals commented 9 years ago

Using IE11 on Windows 8.1, when opening the Code Embed dialog from the Canvas RTE the actual code editor doesn't load. Opening the IE debugger, the problem appears to be here:

setDocument = Sizzle.setDocument = function( node ) {
    var doc = node ? node.ownerDocument || node : preferredDoc, parent = doc.parentWindow;

    // If no document and documentElement is available, return
    if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {
        return document;
    }

IE breaks with "Access denied" and "doc" has no value at that point in time.

[update]: the same issue repro's when viewing pages and not just when editing. FWIW, the "node" parameter is empty when IE breaks.

ctcck commented 9 years ago

We encounter the same problem too. Pls help

JakeStoeffler commented 8 years ago

Hi guys,

Sorry I haven't been more responsive here. I've been really busy with other projects these past few months. I would like to be able to help you out, but I can't guarantee the timeliness of any bug fixes since I can only work on this in my free time. Since this is an open-source project I would love to see more participation from the open-source community here. If you're not able to contribute to code but you're able to make a donation that would certainly help also. Please message me privately if you are able to do so: jake@jakestoeffler.com.

Thanks, Jake