[FIXED] createContextualFragment error in IE9

  1. #1

    [FIXED] createContextualFragment error in IE9

    Have send more info to support@object.net

    Seems that there is a problem with createContextualFragment in IE9. (which is official since 2day)

    There seemed to be a solution (or workaround) for it:

    http://www.sencha.com/forum/showthre...n-IE9&p=579336

    Can you look into it (or check the mail i sended)

    Regards,

    Martin
    Last edited by Daniil; Mar 15, 2011 at 2:17 PM. Reason: [FIXED]
  2. #2
    Hi,

    It is fixed already in SVN
  3. #3
    Quote Originally Posted by Vladimir View Post
    Hi,

    It is fixed already in SVN
    Ok, thanks Vladimir. Could not find a singe forum thread about the problem.

    You're correct. Updating from SVN solves the problem !

    Martin
  4. #4

    Fix

    Quote Originally Posted by Vladimir View Post
    Hi,

    It is fixed already in SVN
    When will this be fixed in the Open Source Version?
  5. #5
    Hello, to solved without donwload from SVN, copy this code in your aspx

    <script type="text/javascript">
    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;
    	};
    }
    </script>
    bye
    Last edited by geoffrey.mcgill; Apr 16, 2011 at 7:23 PM. Reason: please use [CODE] tags

Similar Threads

  1. [CLOSED] IE9 and createContextualFragment
    By VALUELAB in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: May 04, 2011, 3:52 PM
  2. Replies: 6
    Last Post: Apr 28, 2011, 11:52 AM
  3. [FIXED] [V0.8.0] desktop js error
    By [WP]joju in forum Bugs
    Replies: 20
    Last Post: Mar 17, 2009, 1:46 AM
  4. [FIXED] [V0.8.0] gridpanel error
    By [WP]joju in forum Bugs
    Replies: 2
    Last Post: Jan 06, 2009, 4:56 AM
  5. [FIXED] [V0.5] RegisterClientOnReadyInitBlock causes error
    By Karel Frajták in forum Bugs
    Replies: 4
    Last Post: Apr 30, 2008, 3:50 AM

Posting Permissions