Changeset 13113

Show
Ignore:
Timestamp:
03/17/08 05:32:07 (10 months ago)
Author:
doughays
Message:

Fixes #6197. Proxy commit for wolfram.
Resets the item attribute only on new searches and reset() instead on every keystroke.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/form/ComboBox.js

    r13102 r13113  
    111111                        } 
    112112                        var doSearch = false; 
    113                         this.item = null; // #4872 
    114113                        var pw = this._popupWidget; 
    115114                        var dk = dojo.keys; 
     
    491490                        // create a new query to prevent accidentally querying for a hidden 
    492491                        // value from FilteringSelect's keyField 
     492                        this.item = null; // #4872 
    493493                        var query = dojo.clone(this.query); // #5970 
    494494                        this._lastQuery = query[this.searchAttr] = this._getQueryString(key); 
     
    624624                                parent: this 
    625625                        }); 
     626                }, 
     627                 
     628                reset:function(){ 
     629                        // summary: 
     630                        //              Additionally reset the .item (to clean up). 
     631                        this.item = null; 
     632                        this.inherited(arguments); 
    626633                } 
     634                 
    627635        } 
    628636);