mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Followup with missing hunk of folder picker widget cleanup b=370516 r=mscott
This commit is contained in:
parent
667daca8ac
commit
e9cdc75c1c
@ -1718,8 +1718,11 @@
|
||||
// XXXbz We really want client*, but event.client* is bogus inside a popup!
|
||||
var eventX = event.screenX - document.documentElement.boxObject.screenX;
|
||||
var eventY = event.screenY - document.documentElement.boxObject.screenY;
|
||||
box.view.selection.select(box.getRowAt(eventX, eventY));
|
||||
var index = box.getRowAt(eventX, eventY);
|
||||
box.view.selection.select(index);
|
||||
return index;
|
||||
}
|
||||
return -1;
|
||||
]]>
|
||||
</body>
|
||||
</method>
|
||||
|
Loading…
Reference in New Issue
Block a user