mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 747668. (Bv1) Port |Bug 418712 - nsIAutoCompleteInput should fire an event when a search begins| to SeaMonkey. r=neil.
DONTBUILD (a=npotb).
This commit is contained in:
parent
b15550b1c7
commit
b67451d688
@ -139,6 +139,12 @@
|
||||
onset="this.setAttribute('timeout', val); return val;"
|
||||
onget="return parseInt(this.getAttribute('timeout')) || 0;"/>
|
||||
|
||||
<method name="onSearchBegin">
|
||||
<body><![CDATA[
|
||||
this._fireEvent("searchbegin");
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<!-- =================== nsIDOMXULMenuListElement =================== -->
|
||||
|
||||
<property name="editable" readonly="true"
|
||||
@ -660,6 +666,9 @@
|
||||
this.mFailureItems = 0;
|
||||
this.mDefaultMatchFilled = false; // clear out our prefill state.
|
||||
|
||||
// Notify the input that the search is beginning.
|
||||
this.onSearchBegin();
|
||||
|
||||
// tell each session to start searching...
|
||||
for (var name in this.mSessions)
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user