This issue duplicates another issue.
  1. #1
    Sencha User
    Join Date
    Aug 2012
    Location
    Fabrègues, France
    Posts
    50
    Vote Rating
    0
    gostbuster is an unknown quantity at this point

      0  

    Default Ext.device.notification.show with phonegap

    Ext.device.notification.show with phonegap


    REQUIRED INFORMATIONExt version tested:
    • Sencha Touch 2.1
    Browser versions tested against:
    • Packaged app android and iphone
    Description:
    • reference error : butons is undefined
    Steps to reproduce the problem:
    • foo
    • bar
    Check Phonegap.jshere is the code I found in this file
    Code:
        show: function() {        var config = this.callParent(arguments),
                buttons = (config.buttons) ? config.buttons.join(',') : null,
                onShowCallback = function(index) {
                    if (config.callback) {
                        config.callback.apply(config.scope, (config.buttons) ? [config.buttons[index - 1]].toLowerCase() : []);
                    }
                };
    
    
            // change Ext.MessageBox buttons into normal arrays
            var ln = butons.length;
            if (ln && typeof buttons[0] != "string") {
                var newButtons = [],
                    i;
    
    
                for (i = 0; i < ln; i++) {
                    newButtons.push(buttons[i].text);
                }
    
    
                buttons = newButtons;
            }
    
    
            navigator.notification.confirm(
                config.message, // message
                onShowCallback, // callback
                config.title, // title
                buttons // array of button names
            );
        },
    I think butons should be buttons....

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,801
    Vote Rating
    834
    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


    This has already been reported: http://www.sencha.com/forum/showthread.php?248789

    The fix will be part of the next release.
    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.

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi