Synchronize xpfe autocomplete handlers with toolkit. bug 255731, r=Neil, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@188138 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
3ab8db0ba4
commit
409bdcc3d8
@ -11,7 +11,7 @@
|
||||
<commandset id="cmdsGlobalCommands">
|
||||
|
||||
<command id="cmdGotoURL"
|
||||
ontextcommand="inspector.gotoTypedURL();"
|
||||
ontextentered="inspector.gotoTypedURL();"
|
||||
oncommand="inspector.gotoTypedURL()"/>
|
||||
|
||||
<command id="cmdShowOpenURLDialog" oncommand="inspector.showOpenURLDialog()"/>
|
||||
|
||||
@ -93,7 +93,7 @@
|
||||
searchSessions="addrbook" timeout="300" maxrows="4"
|
||||
autoFill="true" autoFillAfterMatch="true" forceComplete="true"
|
||||
minResultsForPopup="3"
|
||||
ontextcommand="awRecipientTextCommand(eventParam, this)"
|
||||
ontextentered="awRecipientTextCommand(eventParam, this)"
|
||||
oninput="setupLdapAutocompleteSession();"
|
||||
onkeypress="handleKeyPress(this, event);"
|
||||
onkeydown="awRecipientKeyDown(event, this);"
|
||||
|
||||
@ -117,7 +117,7 @@
|
||||
searchSessions="addrbook" timeout="300" maxrows="4"
|
||||
autoFill="true" autoFillAfterMatch="true" forceComplete="true"
|
||||
minResultsForPopup="3"
|
||||
ontextcommand="awRecipientTextCommand(eventParam, this)"
|
||||
ontextentered="awRecipientTextCommand(eventParam, this)"
|
||||
oninput="setupLdapAutocompleteSession();"
|
||||
onkeypress="handleKeyPress(this, event);"
|
||||
onkeydown="awRecipientKeyDown(event, this);"
|
||||
|
||||
@ -737,7 +737,7 @@
|
||||
searchSessions="addrbook" timeout="300" maxrows="4"
|
||||
autoFill="true" autoFillAfterMatch="true" forceComplete="true"
|
||||
minResultsForPopup="3" ignoreBlurWhileSearching="true"
|
||||
ontextcommand="awRecipientTextCommand(eventParam, this)"
|
||||
ontextentered="awRecipientTextCommand(eventParam, this)"
|
||||
onerrorcommand="awRecipientErrorCommand(eventParam, this)"
|
||||
oninput="gContentChanged=true; setupAutocomplete();" disableonsend="true"
|
||||
onkeypress="awRecipientKeyPress(event, this)"
|
||||
|
||||
@ -92,7 +92,7 @@
|
||||
searchSessions="addrbook" timeout="300" maxrows="4"
|
||||
autoFill="true" autoFillAfterMatch="true" forceComplete="true"
|
||||
minResultsForPopup="3"
|
||||
ontextcommand="awRecipientTextCommand(eventParam, this)"
|
||||
ontextentered="awRecipientTextCommand(eventParam, this)"
|
||||
onkeypress="handleKeyPress(this, event);"
|
||||
onkeydown="awRecipientKeyDown(event, this);"
|
||||
onclick="awNotAnEmptyArea(event);">
|
||||
|
||||
@ -79,7 +79,7 @@
|
||||
searchSessions="addrbook" timeout="300" maxrows="4"
|
||||
autoFill="true" autoFillAfterMatch="true" forceComplete="true"
|
||||
minResultsForPopup="3" ignoreBlurWhileSearching="true"
|
||||
ontextcommand="awRecipientTextCommand(eventParam, this)"
|
||||
ontextentered="awRecipientTextCommand(eventParam, this)"
|
||||
onerrorcommand="awRecipientErrorCommand(eventParam, this)"
|
||||
oninput="gContentChanged=true; setupAutocomplete();" disableonsend="true"
|
||||
onkeypress="awRecipientKeyPress(event, this)"
|
||||
|
||||
@ -188,8 +188,8 @@
|
||||
inputtooltiptext="&locationBar.tooltip;"
|
||||
newlines="stripsurroundingwhitespace"
|
||||
oninput="gBrowser.userTypedValue = this.value;"
|
||||
ontextcommand="return handleURLBarCommand(eventParam, domEvent);"
|
||||
ontextrevert="return handleURLBarRevert();"
|
||||
ontextentered="return handleURLBarCommand(eventParam, domEvent);"
|
||||
ontextreverted="return handleURLBarRevert();"
|
||||
onfocus="URLBarFocusHandler(event);"
|
||||
onmousedown="URLBarMouseDownHandler(event);"
|
||||
onclick="URLBarClickHandler(event);">
|
||||
|
||||
@ -298,9 +298,6 @@
|
||||
<field name="currentSearchString">""</field>
|
||||
<field name="ignoreInputEvent">false</field>
|
||||
<field name="oninit">null</field>
|
||||
<field name="ontextcommand">null</field>
|
||||
<field name="ontextrevert">null</field>
|
||||
<field name="onerrorcommand">null</field>
|
||||
<field name="mDefaultMatchFilled">false</field>
|
||||
|
||||
<field name="mAutoCompleteListener"><![CDATA[
|
||||
@ -755,7 +752,7 @@
|
||||
this.clearTimer();
|
||||
|
||||
if (aFireTextCommand)
|
||||
this._fireEvent("textcommand", this.userAction, aTriggeringEvent);
|
||||
this._fireEvent("textentered", this.userAction, aTriggeringEvent);
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
@ -792,7 +789,7 @@
|
||||
|
||||
if (errItem)
|
||||
this._fireEvent("errorcommand", errItem);
|
||||
this._fireEvent("textcommand", "clicking");
|
||||
this._fireEvent("textentered", "clicking");
|
||||
]]></body>
|
||||
</method>
|
||||
|
||||
@ -801,7 +798,7 @@
|
||||
<body><![CDATA[
|
||||
var val = this.currentSearchString;
|
||||
|
||||
var ok = this._fireEvent("textrevert");
|
||||
var ok = this._fireEvent("textreverted");
|
||||
if ((ok || ok == undefined) && val)
|
||||
this.setTextValue(val);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user