Hi,

it seems dojo.destroy (= dojo._destroyElement) has been broken
recently (rev. 25179) under IE:
an exception is thrown while evaluating the _destroyContainer variable:

l.130 if(!_destroyContainer || _destroyDoc != doc){
_destroyContainer = doc.createElement("div");
_destroyDoc = doc;
}

_destroyContainer being undefined, it throws an error under IE.

Search Discussions

  • Patrick Ruzand at May 25, 2011 at 9:08 am
    Ticket: http://bugs.dojotoolkit.org/ticket/13072
    On Wed, May 25, 2011 at 1:34 PM, Patrick Ruzand wrote:
    Hi,

    it seems dojo.destroy (= dojo._destroyElement) has been broken
    recently (rev. 25179) ?under IE:
    an exception is thrown while evaluating the _destroyContainer variable:

    l.130 ? ? ? ? ? ? ? ? ? if(!_destroyContainer || _destroyDoc != doc){
    ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?_destroyContainer = doc.createElement("div");
    ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?_destroyDoc = doc;
    ? ? ? ? ? ? ? ? ? ? ? ?}

    _destroyContainer being undefined, it throws an error under IE.

    From what I see, it is due to the now missing _destroyContainer
    variable initialization to null. (was there previously in 1.6).

    thx
    --
    Patrick


    --
    --
    Patrick

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdojo-contributors @
categoriesdojo
postedMay 25, '11 at 7:34a
activeMay 25, '11 at 9:08a
posts2
users1
websitedojotoolkit.org

1 user in discussion

Patrick Ruzand: 2 posts

People

Translate

site design / logo © 2022 Grokbase