3.2.0

Fix for IE freezing when the grid is used in a composite control

In AW 2.0 if you use the grid class as a template in a composite control - IE may freeze with 100% CPU. The following patch fixes this problem -

AW.paint = function(element){

        var obj = AW.object(element.id);

        while (obj._parent){
            obj = obj._parent;
        }

        if (obj && obj.raiseEvent && !obj.$paint) {
            obj.lock();
            obj.$paint = true;
            obj.raiseEvent("paint");
        }

        window.setTimeout(function(){
            element.style.removeExpression("visibility");
            element.style.display = "none";
            if (obj && obj.$paint) {
                obj.$paint = false;
            }
        }, 0);
        return "hidden";
    };


Add this code at the end of aw.js or replace similar fragment in /source/lib/browsers/common.js
Alex (ActiveWidgets)
March 31,
When will patch for combo in grid for FF be available, or I guess I should say will that patch be available to those of us who are evaluating?
HoseHead
March 31,
Yes, I will publish the patch here, please give me couple of more days.
Alex (ActiveWidgets)
March 31,
Alex

Have you published the fix for combo in grid not closing in FF? I haven't seen it, but maybe I've missed it.

If not yet, then when it is available, how will we know? e.g. will you put it at the top of your home page or somewhere else on the site?

Thanks!
Will
Will
April 10,
You say "use the grid class as a template in a composite control" but i can't find any example.... where can i look for?
Amigoni
May 12,

This topic is archived.

See also:


Back to support forum