3.2.0

Fix for duplicate tree nodes bug in FF 1.0.x

Here is the patch which seems correcting AW 2.0 problem in Firefox 1.0.x where tree nodes get duplicated on expand/collapse.

if (AW.gecko){
    AW.setOuterHTML = function(element, html){
       var range = element.ownerDocument.createRange();
       range.setStartBefore(element);
       var fragment = range.createContextualFragment(html);
       element.parentNode.insertBefore(fragment, element);
       element.parentNode.removeChild(element);
    };
}


If you are using AW 2.0 tree control and have to support Firefox 1.0.x - add this code to the end of aw.js file.
Alex (ActiveWidgets)
March 23,
Thank you.
Works fine for me!
ralf
March 23,

This topic is archived.

See also:


Back to support forum