зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
54276e4b2f
Коммит
238171eb88
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче