Results 1 to 2 of 2

Thread: [1.0.1a] ComboBox possible bug in onTriggerClick

  1. #1
    Ext JS Premium Member
    Join Date
    May 2007
    Posts
    8
    Vote Rating
    0
      0  

    Post [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
    New York, NY
    Posts
    6,956
    Vote Rating
    20
      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
    Sencha Co-Founder, Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •