62,046
社区成员
发帖
与我相关
我的任务
分享
_onGotFocus: function(ev) {
/// <summary>
/// Handler for textbox focus event.
/// </summary>
/// <param name="ev" type="Sys.UI.DomEvent" DomElement="false" mayBeNull="false" />
/// <returns />
this._textBoxHasFocus = true;
if (this._flyoutHasFocus) {
// hide the flyout now that the focus is back on the textbox
this._hideCompletionList();
}
if ((this._minimumPrefixLength == 0) && (!this.get_element().value)) {
this._timer.set_enabled(true);
// only start the timer if the minimumprefixlength is 0
// since we would like to retrieve results even if
// the user has not entered any text and the textbox is empty.
}
},