EXTJS EXPLORE 9에서 createContextualFragment ERROR

2012. 6. 23. 11:30프로그래밍/ExtJS

다음과 같은 문구를 추가!!
if ((typeof Range !== "undefined") && !Range.prototype.createContextualFragment)
{
    Range.prototype.createContextualFragment = function(html)
    {
        var frag = document.createDocumentFragment(),
        div = document.createElement("div");
        frag.appendChild(div);
        div.outerHTML = html;
        return frag;
    };
}