1. #1
    Sencha User steffenbrem's Avatar
    Join Date
    Mar 2012
    Posts
    36
    Vote Rating
    2
    steffenbrem is on a distinguished road

      0  

    Default HOW TO Override Ext.app.Controller control() method

    HOW TO Override Ext.app.Controller control() method


    Hello,

    I want to override the control method of the Ext.app.Controller class. Inside the override I want to call the this.callParent(), but this doesn't seem to work. When I execute my code again with the following override, it doesn't listen for the events in this.control():

    Code:
    Ext.override(Ext.app.Controller,{
        control: function() {
            this.callParent();
        }
    });
    Am I doing something wrong?

    I am using Ext JS 4.1.1

  2. #2
    Sencha User steffenbrem's Avatar
    Join Date
    Mar 2012
    Posts
    36
    Vote Rating
    2
    steffenbrem is on a distinguished road

      0  

    Default


    Fixed it! I just needed to pass the arguments to the callParent method:

    Code:
    Ext.override(Ext.app.Controller,{    control: function() {
            if ( ! this.blockControl ) {
                this.blockControl = true;
                this.callParent(arguments);
            }
        }
    });

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