PDA

View Full Version : Ext.MessageBox promt message issue with IE 7



seema
29 Oct 2012, 11:07 PM
I'm getting a weird problem with Ext.MessageBox prompt in IE 6 & 7. Its message is getting disappear sometimes and coming back when clicking on text box.
Though its working fine with FireFox and IE8.


Here is my code for that




Ext.MessageBox.show({
title: 'Add New Email Address',
msg: '<span style="padding-left: 5px">E-mail Address:</span><span style="color:red">*</span>',
buttons: Ext.MessageBox.OKCANCEL,
prompt: true,
fn: callAddOtherEmail
});




Please suggest me some fix for IE

mitchellsimoens
1 Nov 2012, 8:52 AM
So the MessageBox shows but the text within doesn't?

seema
1 Nov 2012, 9:27 PM
Yes, message box is displaying but without message.
It happens when we open message box second or third time. Seems like message is shifting towards left, and x and y coordinate are not initializing properly when we open it second time.
I really appreciate if you could suggest me some solution as soon as possible. We are in very crucial stage of our development.


Thanks

Seema

seema
1 Nov 2012, 11:53 PM
Hi,

I got the fix for this issue.

Specifying height, width, x and y coordinate resolved this issue.
here is the solution




Ext.MessageBox.show({
title: 'Add New Email Address',
//msg: 'E-mail Address: <span style="color:red">*</span>',
msg: '<span style="padding-left: 5px">E-mail Address:</span><span style="color:red">*</span>',
width:300,
height:200,
x:200,
y:200,
buttons: Ext.MessageBox.OKCANCEL,
prompt: true,
fn: callAddOtherEmail
});



Thanks
Seema