Commit 17d71cd3 authored by merlinofchaos's avatar merlinofchaos
Browse files

#286961: restore popup window focus.

parent b067f583
......@@ -452,7 +452,7 @@ function theme_advanced_help_topic($module, $topic, $type = 'icon') {
return l($text, "help/$module/$topic", array(
'attributes' => array(
'class' => $class,
'onclick' => ", 'advanced_help_window', 'width=". $info['popup width'] .",height=". $info['popup height'] .",scrollbars,resizable'); return false;",
'onclick' => "var, 'advanced_help_window', 'width=". $info['popup width'] .",height=". $info['popup height'] .",scrollbars,resizable'); w.focus(); return false;",
'title' => $info['title']
'query' => array('popup' => TRUE),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment