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.

    This duplicates another bug already reported in our system: EXTJS-6694
  1. #1
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    104
    Vote Rating
    0
    jej2003 is on a distinguished road

      0  

    Default Combobox filters not being removed on destroy

    Combobox filters not being removed on destroy


    I am seeing that if I create a combobox in a window, filter the combobox by typing into the field then close the window, open a new instance of that window the previous filter from the first window is still applied to the store. Is this expected behavior? I would have expected that on destroy the combobox would have removed any filters it had on the store to avoid this.

  2. #2
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    104
    Vote Rating
    0
    jej2003 is on a distinguished road

      0  

    Default


    This override makes the combobox act as I would have expected.

    Code:
    Ext.override(Ext.form.field.ComboBox, {
        onDestroy: function() {
            this.clearFilter();
            this.bindStore(null);
            this.callParent();
        }
    });
    The addition is just this.clearFilter() which removes the filter applied by this combobox when the combo is destroyed. Would love to hear comments about this though.

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,496
    Vote Rating
    44
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Good point. It should probably release its influence on the Store on destroy.

  4. #4
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    104
    Vote Rating
    0
    jej2003 is on a distinguished road

      0  

    Default


    thanks Animal, that was also my thoughts. I'll leave the override in until I see any official release which makes it unnecessary.

    Will a bug be created for this that I can track?

Thread Participants: 1