diff --git a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.js b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.js index c26579eb0..e18e7469a 100644 --- a/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.js +++ b/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/ComboBox.js @@ -443,20 +443,20 @@ dojo.widget.defineWidget( dojo.debug("[" + (this.widgetId ? this.widgetId : "unknown") + "] " + text); }, - startSearchFromInput: function() { + _startSearchFromInput: function() { var searchStr = this.textInputNode.value; if(this.loadOnType) { - if(searchStr.length >= this.loadMinimum) { - var nuHref = this.dataUrl + (this.dataUrl.indexOf("?") > -1 ? "&" : "?"); - nuHref += this.name + '=' + searchStr; - this.dataProvider.getData(nuHref); - this.startSearch(searchStr); - } else { - this._hideResultList(); - } + if(searchStr.length >= this.loadMinimum) { + var nuHref = this.dataUrl + (this.dataUrl.indexOf("?") > -1 ? "&" : "?"); + nuHref += this.name + '=' + searchStr; + this.dataProvider.getData(nuHref); + this._startSearch(searchStr); + } else { + this._hideResultList(); + } } else { - this.startSearch(searchStr); + this._startSearch(searchStr); } } });