gecko/browser/components/search
Dave Townsend 6f42a65173 Bug 1118135: Clicking the magnifying glass while the suggestions are open should close the popup and not re-open it. r=felipe
The popup gets closed when native events trigger rollup. This is before the any
mousedown event reaches the DOM so it is difficult to detect the case where it
was a click on the magnifying glass icon that closed the popup. Here a field
is added to the popup that is set to true when rollup is triggered and false
on the next tick of the event loop which will be after the mousedown event
reaches the DOM. This allows us to detect the case and ignore the click on the
magnifying glass.

--HG--
extra : rebase_source : 521d024b33011d0f501a5cd6a1317363f585ffed
2015-01-06 11:05:32 -08:00
..
content Bug 1118135: Clicking the magnifying glass while the suggestions are open should close the popup and not re-open it. r=felipe 2015-01-06 11:05:32 -08:00
test Bug 1118135: Clicking the magnifying glass while the suggestions are open should close the popup and not re-open it. r=felipe 2015-01-06 11:05:32 -08:00
jar.mn
moz.build Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium 2013-12-10 16:18:11 +09:00