Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mullvad Browser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Applications
Mullvad Browser
Commits
342dd06e
Commit
342dd06e
authored
16 years ago
by
bugzilla@standard8.plus.com
Browse files
Options
Downloads
Patches
Plain Diff
Bug 309081 Sync xpfe autocomplete attributes with toolkit ones (sync case). r=mkmelin,sr=Neil
parent
e0f1d4dc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xpfe/components/autocomplete/resources/content/autocomplete.xml
+23
-23
23 additions, 23 deletions
...omponents/autocomplete/resources/content/autocomplete.xml
with
23 additions
and
23 deletions
xpfe/components/autocomplete/resources/content/autocomplete.xml
+
23
−
23
View file @
342dd06e
...
...
@@ -149,28 +149,28 @@
<!-- option for filling the textbox with the best match while typing
and selecting the difference -->
<property
name=
"autoFill"
onset=
"this.setAttribute('auto
F
ill', val); return val;"
onget=
"return this.getAttribute('auto
F
ill') == 'true';"
/>
onset=
"this.setAttribute('auto
f
ill', val); return val;"
onget=
"return this.getAttribute('auto
f
ill') == 'true';"
/>
<!-- if the resulting match string is not at the beginning of the typed string,
this will optionally autofill like this "bar |>> foobar|" -->
<property
name=
"autoFillAfterMatch"
onset=
"this.setAttribute('auto
F
ill
A
fter
M
atch', val); return val;"
onget=
"return this.getAttribute('auto
F
ill
A
fter
M
atch') == 'true';"
/>
onset=
"this.setAttribute('auto
f
ill
a
fter
m
atch', val); return val;"
onget=
"return this.getAttribute('auto
f
ill
a
fter
m
atch') == 'true';"
/>
<!-- if this attribute is set, allow different style for
non auto-completed lines -->
<property
name=
"highlightNonMatches"
onset=
"this.setAttribute('highlight
N
on
M
atches', val); return val;"
onget=
"return this.getAttribute('highlight
N
on
M
atches') == 'true';"
/>
onset=
"this.setAttribute('highlight
n
on
m
atches', val); return val;"
onget=
"return this.getAttribute('highlight
n
on
m
atches') == 'true';"
/>
<!-- toggles a second column in the results list which contains
the string in the comment field of each autocomplete result -->
<property
name=
"showCommentColumn"
onget=
"return this.getAttribute('show
C
omment
C
olumn') == 'true';"
>
onget=
"return this.getAttribute('show
c
omment
c
olumn') == 'true';"
>
<setter>
<![CDATA[
this.resultsPopup.showCommentColumn = val;
this.setAttribute('show
C
omment
C
olumn', val); return val;
this.setAttribute('show
c
omment
c
olumn', val); return val;
]]>
</setter>
</property>
...
...
@@ -178,8 +178,8 @@
<!-- option for completing to the default result whenever the user hits
enter or the textbox loses focus -->
<property
name=
"forceComplete"
onset=
"this.setAttribute('force
C
omplete', val); return val;"
onget=
"return this.getAttribute('force
C
omplete') == 'true';"
/>
onset=
"this.setAttribute('force
c
omplete', val); return val;"
onget=
"return this.getAttribute('force
c
omplete') == 'true';"
/>
<!-- option to show the popup containing the results -->
<property
name=
"showPopup"
...
...
@@ -189,13 +189,13 @@
<!-- option to allow scrolling through the list via the tab key, rather than
tab moving focus out of the textbox -->
<property
name=
"tabScrolling"
onset=
"return this.setAttribute('tab
S
crolling', val); return val;"
onget=
"return this.getAttribute('tab
S
crolling') == 'true';"
/>
onset=
"return this.setAttribute('tab
s
crolling', val); return val;"
onget=
"return this.getAttribute('tab
s
crolling') == 'true';"
/>
<!-- option to turn off autocomplete -->
<property
name=
"disableAuto
c
omplete"
onset=
"this.setAttribute('disable
A
utocomplete', val); return val;"
onget=
"return this.getAttribute('disable
A
utocomplete') == 'true';"
/>
<property
name=
"disableAuto
C
omplete"
onset=
"this.setAttribute('disable
a
utocomplete', val); return val;"
onget=
"return this.getAttribute('disable
a
utocomplete') == 'true';"
/>
<!-- option to completely ignore any blur events while
searches are still going on. This is useful so that nothing
...
...
@@ -204,12 +204,12 @@
brought up so that the user can enter a password to authenticate
to an LDAP server). -->
<property
name=
"ignoreBlurWhileSearching"
onset=
"this.setAttribute('ignore
B
lur
W
hile
S
earching', val); return val;"
onget=
"return this.getAttribute('ignore
B
lur
W
hile
S
earching') == 'true';"
/>
onset=
"this.setAttribute('ignore
b
lur
w
hile
s
earching', val); return val;"
onget=
"return this.getAttribute('ignore
b
lur
w
hile
s
earching') == 'true';"
/>
<property
name=
"minResultsForPopup"
onset=
"this.setAttribute('min
R
esults
F
or
P
opup', val); return val;"
onget=
"var t = this.getAttribute('min
R
esults
F
or
P
opup'); return t ? parseInt(t) : 1;"
/>
onset=
"this.setAttribute('min
r
esults
f
or
p
opup', val); return val;"
onget=
"var t = this.getAttribute('min
r
esults
f
or
p
opup'); return t ? parseInt(t) : 1;"
/>
<!-- state which indicates the current action being performed by the user.
Possible values are : none, typing, scrolling -->
...
...
@@ -558,7 +558,7 @@
me.clearTimer();
if (me.disableAuto
c
omplete)
if (me.disableAuto
C
omplete)
return;
switch (aAction) {
...
...
@@ -624,7 +624,7 @@
<parameter
name=
"aResults"
/>
<parameter
name=
"aStatus"
/>
<body>
<![CDATA[
if (this.disableAuto
c
omplete)
if (this.disableAuto
C
omplete)
return;
--this.mSessionReturns;
...
...
@@ -747,7 +747,7 @@
<body>
<![CDATA[
this.mFinishAfterSearch = false;
this.mFireAfterSearch = false;
if (this.mNeedToFinish && !this.disableAuto
c
omplete) {
if (this.mNeedToFinish && !this.disableAuto
C
omplete) {
// set textbox value to either override value, or default search result
var val = this.resultsPopup.overrideValue;
if (val) {
...
...
@@ -899,7 +899,7 @@
if (this.ignoreInputEvent)
return;
if (this.disableAuto
c
omplete)
if (this.disableAuto
C
omplete)
return;
this.userAction = "typing";
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment