Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
93172318
Commit
93172318
authored
Dec 14, 2015
by
Joseph Inhofer
Committed by
jinhofer
Jan 12, 2016
Browse files
MDL-52507 enrol/manual: Generated a smart zIndex
parent
0dfcc254
Changes
1
Hide whitespace changes
Inline
Side-by-side
enrol/manual/yui/quickenrolment/quickenrolment.js
View file @
93172318
...
...
@@ -291,6 +291,13 @@ YUI.add('moodle-enrol_manual-quickenrolment', function(Y) {
y
=
parseInt
(
base
.
get
(
'
winHeight
'
))
*
0.1
;
}
base
.
setXY
([
x
,
y
]);
var
zindex
=
0
;
Y
.
all
(
'
.moodle-has-zindex
'
).
each
(
function
()
{
if
(
parseInt
(
this
.
getComputedStyle
(
'
zIndex
'
),
10
)
>
zindex
)
{
zindex
=
parseInt
(
this
.
getComputedStyle
(
'
zIndex
'
),
10
);
}
});
base
.
setStyle
(
'
zIndex
'
,
zindex
+
1
);
if
(
this
.
get
(
UEP
.
USERS
)
===
null
)
{
this
.
search
(
e
,
false
);
...
...
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