Bug 340131 Takes two clicks to go to pasted URL r+branch181=mconnor
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@199424 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -81,6 +81,7 @@
|
||||
<field name="mSearchNames">null</field>
|
||||
<field name="mIgnoreInput">false</field>
|
||||
<field name="mEnterEvent">null</field>
|
||||
<field name="mConsumeRollupEvent">false</field>
|
||||
|
||||
<field name="mInputElt">
|
||||
document.getAnonymousElementByAttribute(this, "anonid", "input");
|
||||
@@ -168,7 +169,7 @@
|
||||
onget="this.initSearchNames(); return this.mSearchNames.length;"/>
|
||||
|
||||
<property name="consumeRollupEvent" readonly="true"
|
||||
onget="return true;"/>
|
||||
onget="return this.mConsumeRollupEvent;"/>
|
||||
|
||||
<method name="getSearchAt">
|
||||
<parameter name="aIndex"/>
|
||||
@@ -329,6 +330,7 @@
|
||||
|
||||
<method name="closePopup">
|
||||
<body><![CDATA[
|
||||
this.mConsumeRollupEvent = false;
|
||||
this.popup.closePopup();
|
||||
]]></body>
|
||||
</method>
|
||||
@@ -336,9 +338,9 @@
|
||||
<method name="showHistoryPopup">
|
||||
<body><![CDATA[
|
||||
this.maxRows = 14;
|
||||
// Eusure this having focus.
|
||||
if (!this.focused)
|
||||
this.focus();
|
||||
this.mConsumeRollupEvent = true;
|
||||
this.attachController();
|
||||
this.mController.startSearch("");
|
||||
]]></body>
|
||||
|
||||
Reference in New Issue
Block a user