Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1029 in a recent build.
  1. #1
    Touch Premium Member
    Join Date
    Nov 2011
    Posts
    8
    Vote Rating
    0
    ajchia is on a distinguished road

      0  

    Default Ext.msg not passing buttonId to function in PR2 anymore?

    Ext.msg not passing buttonId to function in PR2 anymore?


    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...

  2. #2
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,395
    Vote Rating
    23
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    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/forumdis...Touch-2.x-Bugs
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    Owner at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    https://github.com/AndreaCammarata/TUX


  3. #3
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Have moved to the bugs forum and pushed into Jira. Thank you for the report!
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.