-
16 Apr 2009 7:34 AM #1
[FIXED][3.0] Unable to hide a message box
[FIXED][3.0] Unable to hide a message box
Hi,
We just pulled the latest v3 update from the svn. The update removed the auto-hide of a message box when hitting a Yes or No button on the box. So I added a line of code to manually hide it. It still doesn't work.
Also the look of a message box is broken in IE. Please run the following sample code for more details.
Here is the code:
Thanks.Code:<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="ext/resources/css/ext-all.css"> <script type="text/javascript" src="ext/adapter/ext/ext-base.js"></script> <script type="text/javascript" src="ext/ext-all-debug.js"></script> <title id="page-title">Message Box</title> <script type="text/javascript"> Ext.onReady(function() { Ext.Msg.show({ title:'Test Window', msg: 'Would you like to save your changes?', buttons: Ext.Msg.YESNO, fn: function(buttonId) { Ext.Msg.hide(); } }); }); </script> </head> <body> </body> </html>
-
16 Apr 2009 12:14 PM #2
This should be fixed in SVN.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
16 Apr 2009 1:03 PM #3
Thanks. Auto-hide of a message box works fine now when hitting a button.
But the look of the message box is still not right in IE 6. Please see the screenshot.
-
16 Apr 2009 1:06 PM #4
Don't have IE6 on my laptop, I'll check this out when I get back from the conference
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
16 Apr 2009 10:19 PM #5Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41
You don't need IE6 for that.
Not only IE6, but also IE7 (both standards and quirks mode) behaves incorrectly (but IE8 standards, quirks and compatibility mode are correct).
ps. Have you tried IETester?
-
17 Apr 2009 2:24 PM #6
Yeah, I was at the airport and about to leave

Anyway, I'm home now so I'll have a look.Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote