0
true
false
({})
({})
({})
null
0
false
false
false
false
false
false
null
""
false
null
false
true
false
0 && !results.errorDescription)
return name;
}
return null;
]]>
0 &&
!results.errorDescription && results.defaultIndex != -1)
{
val = results.getValueAt(results.defaultIndex);
this.setTextValue(val);
this.mDefaultMatchFilled = true;
this.mNeedToFinish = false;
break;
}
}
if (this.mNeedToFinish) {
// if a search is happening at this juncture, bail out of this function
// and let the search finish, and tell it to come back here when it's done
if (this.isSearching) {
this.mFinishAfterSearch = true;
this.mFireAfterSearch = aFireTextCommand;
return;
}
this.mNeedToFinish = false;
var defaultSession = this.getDefaultSession();
if (defaultSession)
{
// preselect the first one
var first = this.getSessionValueAt(defaultSession, 0);
this.setTextValue(first);
this.mDefaultMatchFilled = true;
}
}
}
this.stopLookup();
this.closePopup();
}
this.mNeedToComplete = false;
this.clearTimer();
if (aFireTextCommand)
this._fireEvent("textentered", this.userAction, aTriggeringEvent);
]]>
> " + resultValue);
this.mInputElt.setSelectionRange(entry.length, this.value.length);
} else {
var postIndex = resultValue.indexOf(this.value);
if (postIndex >= 0) {
var startPt = this.value.length;
this.setTextValue(this.value +
resultValue.substr(startPt+postIndex));
this.mInputElt.setSelectionRange(startPt, this.value.length);
}
}
}
this.mNeedToComplete = true;
this.ignoreInputEvent = false;
this.mDefaultMatchFilled = true;
}
}
]]>
= this.minResultsForPopup ||
this.mFailureItems)) {
var w = this.boxObject.width;
if (w != this.popup.boxObject.width)
this.popup.setAttribute("width", w);
this.popup.showPopup(this, -1, -1, "popup", "bottomleft", "topleft");
this.mMenuOpen = true;
}
]]>
document.getBindingParent(this);
Date.now()
30) {
var rc = this.parentNode.treeBoxObject.getRowAt(event.clientX, event.clientY);
if (rc != -1 && rc != this.popup.selectedIndex)
this.popup.selectedIndex = rc;
this.mLastMoveTime = Date.now();
}
]]>