Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    May 2012
    Location
    bangalore
    Posts
    60
    Answers
    4
    Vote Rating
    0
    bluemvj is an unknown quantity at this point

      0  

    Default Unanswered: Selectfield onChange Event Firing in Show Method

    Unanswered: Selectfield onChange Event Firing in Show Method


    I have 3 selectfields however i added a listener for the first selectfield like below, In the show method in controller

    this.getMainPage().down('#depField').on({
    change:this.onChange,
    scope:this
    });


    for the selectfield now the problem is onChange function is executing because i added in show method how to solve this problem. I don't want to execute this function without being changing anything in the selectfield

  2. #2
    Sencha User
    Join Date
    Nov 2011
    Location
    England
    Posts
    135
    Answers
    11
    Vote Rating
    7
    george.m is on a distinguished road

      0  

    Default


    I had the same problem and I found this bit of code on the forum that fixed it for me, see if this helps you. The thread is below the code:

    Code:
    Ext.define("Ext.ux.touch.select.ItemSelectedAddOn", { 
        override:'Ext.field.Select', 
        onListSelect:function(item, record){ 
            var me = this,
                oldVal = me.getValue(); 
            me.callParent(arguments); 
            me.fireEvent('itemselected', me, me.getValue(), oldVal); 
        }
    });
    http://www.sencha.com/forum/showthre...ge-event/page2

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Location
    Düsseldorf, Germany
    Posts
    567
    Answers
    34
    Vote Rating
    31
    Kurt001 has a spectacular aura about Kurt001 has a spectacular aura about

      0  

    Default


    Does this happen onAfterShow too?

Thread Participants: 2

Tags for this Thread