PDA

View Full Version : [FIXED] Ext.msg not passing buttonId to function in PR2 anymore?



ajchia
13 Nov 2011, 4:08 PM
Ext.Msg.confirm("Confirmation", "Are you sure you want to do that?", function(btn){console.log(btn);});

Log shows undefined no matter whether answered yes or no...

AndreaCammarata
14 Nov 2011, 1:05 AM
Hi ajchia.
Thank you for reporting this.
Actually it seems to be a bug so I suggest you to write this issue inside the Sencha Touch 2 Bugs forum

http://www.sencha.com/forum/forumdisplay.php?92-Sencha-Touch-2.x-Bugs

mitchellsimoens
14 Nov 2011, 7:41 AM
Have moved to the bugs forum and pushed into Jira. Thank you for the report!