Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
905fd30a
Commit
905fd30a
authored
Dec 30, 2006
by
Steven Wittens
Browse files
#104537
: Fix autocomplete dropdown positioning in IE6 and IE7.
parent
2059333c
Changes
1
Hide whitespace changes
Inline
Side-by-side
misc/autocomplete.js
View file @
905fd30a
...
...
@@ -173,18 +173,16 @@ Drupal.jsAC.prototype.populatePopup = function () {
if
(
this
.
popup
)
{
$
(
this
.
popup
).
remove
();
}
var
pos
=
Drupal
.
absolutePosition
(
this
.
input
);
this
.
selected
=
false
;
this
.
popup
=
document
.
createElement
(
'
div
'
);
this
.
popup
.
id
=
'
autocomplete
'
;
this
.
popup
.
owner
=
this
;
$
(
this
.
popup
).
css
({
top
:
(
pos
.
y
+
this
.
input
.
offsetHeight
)
+
'
px
'
,
left
:
pos
.
x
+
'
px
'
,
marginTop
:
this
.
input
.
offsetHeight
+
'
px
'
,
width
:
(
this
.
input
.
offsetWidth
-
4
)
+
'
px
'
,
display
:
'
none
'
});
$
(
'
body
'
).
append
(
this
.
popup
);
$
(
this
.
input
).
before
(
this
.
popup
);
// Do search
this
.
db
.
owner
=
this
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment