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
Родитель ce83eb70a6
Коммит 0c26f40db4
1 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

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