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?
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?