MDL-39069 open new window for help when JS disabled

This commit is contained in:
Petr Škoda
2013-04-16 14:12:31 +02:00
parent b3661ab272
commit e88419a2fd
+1 -1
View File
@@ -1955,7 +1955,7 @@ class core_renderer extends renderer_base {
// note: this title is displayed only if JS is disabled, otherwise the link will have the new ajax tooltip
$title = get_string('helpprefix2', '', trim($title, ". \t"));
$attributes = array('href' => $url, 'title' => $title, 'aria-haspopup' => 'true');
$attributes = array('href' => $url, 'title' => $title, 'aria-haspopup' => 'true', 'target'=>'_blank');
$output = html_writer::tag('a', $output, $attributes);
// and finally span