Hello,
I'm getting following error in daypilot:
for(var i=0;i<this.shadow.list.length;i++){$N.removeChild(this.shadow.list[i]);}
removeChild throws exception
My code:
function close(result) {
        if (parent && parent.DayPilot && parent.DayPilot.ModalStatic) {
            parent.DayPilot.ModalStatic.close(result); //this line generates error
        }
    }
    $("#f").submit(function () {
        var f = $("#f");
        $.post(f.action, f.serialize(), function (result) {
            if (result == "\"Success\"")
                close(eval(result));
        });
        return false;
    });
    $('#cancel').click(function () {
        close();
    });
No matter if I click cancel button or post result is Success. Exception is throwing random. After that I can't interact with daypilot control, because it throws error every time.