1. #1
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,170
    Vote Rating
    32
    jay@moduscreate.com is just really nice jay@moduscreate.com is just really nice jay@moduscreate.com is just really nice jay@moduscreate.com is just really nice

      0  

    Default Ext.MessageBox.wait params not inline with 'standard' or backwards

    Ext.MessageBox.wait params not inline with 'standard' or backwards


    Why is title #2 param?

    Quote Originally Posted by EXT Js docs
    wait(String msg, [String title])

    as compared to

    progress(String title, String msg)
    alert(String title, String msg, [Function fn], [Object scope])
    prompt(String title, String msg, [Function fn], [Object scope], [Boolean/Number multiline])
    confirm(String title, String msg, [Function fn], [Object scope])
    Just seems bass ackwards.

    Jay Garcia @ModusJesus || Modus Create co-founder
    Ext JS in Action author
    Sencha Touch in Action author

    Get in touch for Ext JS & Sencha Touch Touch Training

    We are also working on Video-based Sencha Touch training: Check it out here.

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    7
    jack.slocum will become famous soon enough

      0  

    Default


    I agree it is confusing since all the rest are the other way. The primary reason was because unlike the others, the title is optional. Hopefully that makes a little sense.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

  3. #3
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,170
    Vote Rating
    32
    jay@moduscreate.com is just really nice jay@moduscreate.com is just really nice jay@moduscreate.com is just really nice jay@moduscreate.com is just really nice

      0  

    Default


    yes it does. The title can be null on each of the Message box's as well.

    Either way if it's intentional, i understand. Please close this thread and/or move/delete

    Jay Garcia @ModusJesus || Modus Create co-founder
    Ext JS in Action author
    Sencha Touch in Action author

    Get in touch for Ext JS & Sencha Touch Touch Training

    We are also working on Video-based Sencha Touch training: Check it out here.