Bug 747668. (Dv1) XPFE autocomplete.xml: Move code into onTextReverted(). r=neil.

DONTBUILD (npotb).
This commit is contained in:
Serge Gautherie 2012-04-27 11:51:15 +02:00
parent 4e1ce87bbc
commit 51f81f7dac

View File

@ -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);