1. #1
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    8
    Vote Rating
    0
    theo is on a distinguished road

      0  

    Post [1.0.1a] ComboBox possible bug in onTriggerClick

    [1.0.1a] ComboBox possible bug in onTriggerClick


    Hi all,

    It seems that function Ext.form.ComboBox.onTriggerClick always make doquery function twice:

    Code:
     // private
        // Implements the default empty TriggerField.onTriggerClick function
        onTriggerClick : function(){
            if(this.disabled){
                return;
            }
            if(this.isExpanded()){
                this.collapse();
                this.el.focus();
            }else{
                this.hasFocus = true;
                this.doQuery(this.triggerAction == 'all' ?
                         this.doQuery(this.allQuery, true) : this.doQuery(this.getRawValue()));
                this.el.focus();
            }
        }
    Someone can tell me if there is a possible issue here or it's just the normal behavior ?

    Thanks.

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    Looks like a "ran out of redbull" bug - not sure how that got in undetected. Thanks for reporting it, it is fixed in SVN.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

Thread Participants: 1