ds0870
16 Apr 2009, 7:34 AM
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:
<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>Thanks.
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:
<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>Thanks.