Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-5063 in Touch 2.3.1 (38).
  1. #1
    Ext JS Premium Member cnelissen's Avatar
    Join Date
    Sep 2007
    Location
    California
    Posts
    222
    Vote Rating
    7
    cnelissen is on a distinguished road

      0  

    Default [2.3] Ext.form.Panel.submit scope problem

    [2.3] Ext.form.Panel.submit scope problem


    It seems there is a scope problem somewhere in the doBeforeSubmit function of Ext.form.Panel. If you submit a form and pass the current application scope to the submit() method, you get an error on line 656 of form/Panel.js. Here is a testcase showing the issue:

    PHP Code:
    Ext.application({
        
    launch: function() {
            
    this.formPanel Ext.Viewport.add({
                
    xtype'formpanel',
                
    items: [{
                    
    xtype'textfield',
                    
    name'name',
                    
    label'Name'
                
    },{
                    
    xtype'toolbar',
                    
    docked'bottom',
                    
    items: [{
                        
    text'Submit',
                        
    scopethis,
                        
    handler: function() {
                            
    this.formPanel.submit({
                                
    url'/some/backend/script.php',
                                
    scopethis // Passing scope here for success and failure functions
                            
    });
                        }
                    }]
                }]
            });
        }
    }); 
    The exact error is: Uncaught TypeError: Object [object Object] has no method 'setMasked'

    Line 656 reads: me.setMasked(false);

    Upon inspection, it seems "me" is an instance of the application (passed scope) and not an instance of the panel which is why this is erroring.

    This code works as expected under 2.2.1.
    - Clint Nelissen

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,927
    Vote Rating
    129
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

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