Bug 192577. URL bar drop-down does not collapse on second click on down-arrow. r=mconnor. No sr= needed
git-svn-id: svn://10.0.0.236/trunk@160900 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user