Skip to content

Commit

Permalink
Merge branch 'MDL-68353-38' of git://github.com/rezaies/moodle into M…
Browse files Browse the repository at this point in the history
…OODLE_38_STABLE
  • Loading branch information
vmdef committed Jun 1, 2020
2 parents 6079a72 + cdb0af6 commit f8f58c4
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -59,11 +59,11 @@ protected function get_filepicker_node($filepickerelement) {
$exception
);
} else {
// Gets the ffilemanager node specified by the locator which contains the filepicker container.
// Gets the filemanager node specified by the locator which contains the filepicker container.
$filepickerelement = behat_context_helper::escape($filepickerelement);
$filepickercontainer = $this->find(
'xpath',
"//input[./@id = //label[normalize-space(.)=$filepickerelement]/@for]" .
"//input[./@id = substring-before(//p[normalize-space(.)=$filepickerelement]/@id, '_label')]" .
"//ancestor::div[contains(concat(' ', normalize-space(@class), ' '), ' felement ')]",
$exception
);
Expand Down

0 comments on commit f8f58c4

Please sign in to comment.