mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-42692 Quiz: Fixed z-index for tab and marks
On edit quiz page marks/reorder text box has zindex set, which should be considered by modal window. Also, tab set is also using zindex for active node.
This commit is contained in:
parent
5386f0bbfe
commit
0507c33cad
2 changed files with 1 additions and 6 deletions
|
@ -3134,7 +3134,7 @@ EOD;
|
|||
// No name for tabtree root.
|
||||
} else if ($tabobject->inactive || $tabobject->activated || ($tabobject->selected && !$tabobject->linkedwhenselected)) {
|
||||
// Tab name without a link. The <a> tag is used for styling.
|
||||
$str .= html_writer::tag('a', html_writer::span($tabobject->text), array('class' => 'nolink'));
|
||||
$str .= html_writer::tag('a', html_writer::span($tabobject->text), array('class' => 'nolink moodle-has-zindex'));
|
||||
} else {
|
||||
// Tab name with a link.
|
||||
if (!($tabobject->link instanceof moodle_url)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue