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:
aaronleventhal%moonset.net 2004-08-18 14:46:45 +00:00
parent 2d03580255
commit 0c4f9a925b

View File

@ -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>