PDA

View Full Version : problem in hidding MessageBox



flyingpig
16 Aug 2007, 10:35 PM
In function A:
do some operation then show the MessageBox to wait the server-side response
In function B:
receive the Server-side response , if the response is "complete" then hide the MessageBox


when I hide the MessageBox using "Ext.MessageBox.hide();" the title and msg of the MessageBox dissapear but the panel of the MessageBox is still visible;
the code as below:

function A(){
eBox=Ext.MessageBox.show({
title: 'delete operation',
msg: 'deleting ...',
width:240,
closable:false,
animEl: 'ttm'
});
}

function B(){
eBox.hide();
}


who has the same problem and how to solve it?

monty0815
20 Aug 2007, 8:10 AM
I had the same problem, and it seems to me that the animEl option is the evil doer, it worked for me without that option.