View Full Version : [1.1.0] Bug with nested Ext.Msg.alert() ?

25 Apr 2011, 1:56 AM
When running the sample code below, the first alert displays fine, but the second alert closes as soon as you click OK on the first alert. Bug or intended behaviour?

<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<script src="sencha-touch.js" type="text/javascript"></script>
<link href="resources/css/sencha-touch.css" rel="stylesheet" type="text/css" />

<script type="text/javascript">

new Ext.Application({
launch: function() {

new Ext.Panel({
fullscreen: true,
html: 'Hello World!'

Ext.Msg.alert('Test', 'Alert 1', function() {
Ext.Msg.alert('Test', 'Alert 2', Ext.emptyFn);



Tested on Chrome 11.0/Windows 7 and iOS 4.3.2.