mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 192577. URL bar drop-down does not collapse on second click on down-arrow. r=mconnor. No sr= needed
This commit is contained in:
parent
2d03580255
commit
0c4f9a925b
@ -669,6 +669,13 @@
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
<method name="clearOpenProperty">
|
||||
<parameter name="aPopupNode"/>
|
||||
<body><![CDATA[
|
||||
aPopupNode.mPopupOpen = false;
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
</implementation>
|
||||
|
||||
<handlers>
|
||||
@ -677,7 +684,7 @@
|
||||
</handler>
|
||||
|
||||
<handler event="popuphiding">
|
||||
this.mPopupOpen = false;
|
||||
setTimeout(this.clearOpenProperty, 0, this);
|
||||
this.mInput.maxRows = 6;
|
||||
</handler>
|
||||
</handlers>
|
||||
@ -753,7 +760,9 @@
|
||||
<method name="showPopup">
|
||||
<body><![CDATA[
|
||||
var textbox = document.getBindingParent(this);
|
||||
textbox.showHistoryPopup();
|
||||
if (!textbox.popup.mPopupOpen) {
|
||||
textbox.showHistoryPopup();
|
||||
}
|
||||
]]></body>
|
||||
</method>
|
||||
</implementation>
|
||||
|
Loading…
Reference in New Issue
Block a user