mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 747668. (Dv1) XPFE autocomplete.xml: Move code into onTextReverted(). r=neil.
DONTBUILD (npotb).
This commit is contained in:
parent
4e1ce87bbc
commit
51f81f7dac
@ -156,6 +156,12 @@
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="onTextReverted">
|
||||
<body><![CDATA[
|
||||
return this._fireEvent("textreverted");
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<!-- =================== nsIDOMXULMenuListElement =================== -->
|
||||
|
||||
<property name="editable" readonly="true"
|
||||
@ -942,7 +948,7 @@
|
||||
<body><![CDATA[
|
||||
var val = this.currentSearchString;
|
||||
|
||||
var ok = this._fireEvent("textreverted");
|
||||
var ok = this.onTextReverted();
|
||||
if ((ok || ok == undefined) && val)
|
||||
this.setTextValue(val);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user