Bug 306538. Autocomplete does not work if you do not get a mousemovement event. This can occur on any device that doesn't have a mouse. This is a followup to remove the unneeded lastMoveTime as was suggested in the bug. r=mconnor

This commit is contained in:
dougt%meer.net 2005-12-08 22:35:32 +00:00
Родитель 54276e4b2f
Коммит 238171eb88
1 изменённых файлов: 1 добавлений и 4 удалений

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

@ -780,12 +780,9 @@
<handler event="mouseup" action="this.parentNode.parentNode.onPopupClick(event);"/>
<handler event="mousedown"><![CDATA[
if (new Date() - this.mLastMoveTime > 30) {
var rc = this.getHoverCell(event);
if (rc && rc.row != this.parentNode.currentIndex)
this.parentNode.view.selection.select(rc.row);
this.mLastMoveTime = new Date();
}
]]></handler>
<handler event="mousemove"><![CDATA[
@ -834,7 +831,7 @@
</implementation>
<handlers>
<handler event="mousedown" button="0"><![CDATA[
<handler event="mousedown"><![CDATA[
this.showPopup();
]]></handler>
</handlers>