crysfel / Bleextop

An ExtJS4 desktop solution.
www.bleext.com
66 stars 20 forks source link

Users, Roles window do not load #9

Open sagikazarmark opened 12 years ago

sagikazarmark commented 12 years ago

It starts loading and then I can only view one part of the window. It says: this.tempHidden is undefined

crysfel commented 12 years ago

Thanks for report this issue

larnold commented 12 years ago

I found the fix for this issue here:

http://www.sencha.com/forum/showthread.php?160222-quot-this.tempHidden-is-undefined-quot-Error-Workaround

I pasted this into top of file: js\Bleext\core\Ajax.js (not sure if this is the correct place but seems to work).

Ext.override(Ext.ZIndexManager, { 

    tempHidden: [], 

    show: function() { 
        var comp, x, y; 

        while (comp = this.tempHidden.shift()) { 

            x = comp.x; 
            y = comp.y; 

            comp.show(); 
            comp.setPosition(x, y); 

        } 

    } 

});  
crysfel commented 12 years ago

Awesome, thanks for share :)