PDA

View Full Version : problem with loadingmask in accordion panel



MacSimon
1 Dec 2009, 5:03 AM
Hi everyone,

I have a loadingmask wich is shown in one panel of a accordion layout.

The panel is collapsed on rendering (also on loading it's content)
but when I open the panel while it is still loading, the loadmessage isn't positioned correct.

When I refresh the panel while opened the positioning is correct.

this is the code which I use to show and hide the loadmask:

[CODE]
function HideLoadingMask() {
myMask.hide();
}

function ShowLoadingMask() {
myMask = new Ext.LoadMask(Ext.getCmp('panelEndOfContract').body, {
msg: