Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User bywayboy's Avatar
    Join Date
    May 2008
    Location
    Earth Aisa
    Posts
    19
    Vote Rating
    0
    bywayboy is on a distinguished road

      0  

    Exclamation Menu shadow probolem in IE9

    Menu shadow probolem in IE9


    createContextualFragment

    Script Error At DomHelper
    file:ext-all-debug.js
    line:508
    frag = range.createContextualFragment(html);


    method createContextualFragment not support!

  2. #2
    Ext JS Premium Member NoahK17's Avatar
    Join Date
    Apr 2008
    Location
    Atlanta, GA
    Posts
    518
    Vote Rating
    1
    NoahK17 is on a distinguished road

      0  

    Default


    Same issue. Anyone have an idea?
    Noah
    Senior Web Developer
    NBA.com

  3. #3
    Ext JS Premium Member NoahK17's Avatar
    Join Date
    Apr 2008
    Location
    Atlanta, GA
    Posts
    518
    Vote Rating
    1
    NoahK17 is on a distinguished road

      0  

    Default


    Solved:

    createContextualFragment is not supported in IE9.

    Add this code somewhere:

    Code:
    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;
    	};
    }
    Noah
    Senior Web Developer
    NBA.com

  4. #4
    Ext JS Premium Member Jonny5's Avatar
    Join Date
    Jan 2010
    Location
    Vancouver, BC
    Posts
    30
    Vote Rating
    0
    Jonny5 is on a distinguished road

      0  

    Default


    That seems to do the trick.

Similar Threads

  1. Replies: 3
    Last Post: 5 Jul 2008, 8:44 AM
  2. Drop shadow effect with Ext.Shadow / Ext.Layer?
    By deeptii in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 8 Nov 2007, 9:12 AM
  3. Replies: 1
    Last Post: 9 Oct 2007, 12:53 PM

Thread Participants: 2