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

      0  

    Default Android: Submit form on action, double events?

    Android: Submit form on action, double events?


    Hello,

    I have a problem with the submit on action on Android devices. Before it doesn't nothing but it was caused by a bug in the bubble events. After fixing that submit on action give me the follow events:

    Code:
    1. submit event
    2. Ext.Msg.alert in listener because result is invalid, 
    3. beforesumit event
    4. submit event
    5. done and redirect in the listener because the result is valid.
    On Chrome and IOS I only have beforesubmit and the submit, what is going wrong here?

    Thanks




  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Sounds like a bug, we'll look into it.

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    Fixed for the next release. Thanks!
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  4. #4
    Touch Premium Member
    Join Date
    Nov 2011
    Posts
    124
    Vote Rating
    0
    JavascriptParrot is on a distinguished road

      0  

    Default


    Thanks for quick response!

    Is the next release available soon? I have to release an app specially for android but with this bug it is impossible.
    Maybe there is a hotfix? If not I have to our customer the that the release date is delayed.

    Thanks!

  5. #5
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Try this override:

    Code:
    Ext.define('Ext.formpanel.override', {
        override: 'Ext.form.Panel',
        onSubmit: function(e) {
            var me = this;
            if (e && !me.getStandardSubmit()) {
                e.stopEvent();
            }
    
            this.submit();
        },
        onFieldAction: function(field) {
            if (this.getSubmitOnAction()) {
                field.blur();
                this.submit();
            }
        }
    });

    Sencha Inc

    Jamie Avins

    @jamieavins

  6. #6
    Touch Premium Member
    Join Date
    Nov 2011
    Posts
    124
    Vote Rating
    0
    JavascriptParrot is on a distinguished road

      0  

    Default


    Thank you, that works!

Thread Participants: 2

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