MDL-20410 - remove set_focuscontrol (bulk commit)

This commit is contained in:
Rossiani Wijaya 2010-07-01 05:24:14 +00:00
parent 12a24e00cf
commit 36099bd4d5
2 changed files with 2 additions and 5 deletions

View file

@ -113,7 +113,6 @@ if (!empty($refresh) and data_submitted()) {
}
$PAGE->set_title("$strchat: $course->shortname: ".format_string($chat->name,true)."$groupname");
$PAGE->set_focuscontrol('message');
echo $OUTPUT->header();
echo '<div id="page-mod-chat-gui_basic">';
echo '<h2>'.get_string('participants').'</h2>';

View file

@ -125,7 +125,6 @@ if (!$search || $showform) {
$PAGE->set_title($strsearch);
$PAGE->set_heading($course->fullname);
$PAGE->set_focuscontrol('words');
echo $OUTPUT->header();
forum_print_big_search_form($course);
@ -145,7 +144,6 @@ $PAGE->navbar->add(s($search, true));
if (!$posts = forum_search_posts($searchterms, $course->id, $page*$perpage, $perpage, $totalcount)) {
$PAGE->set_title($strsearchresults);
$PAGE->set_heading($course->fullname);
$PAGE->set_focuscontrol('words');
echo $OUTPUT->header();
echo $OUTPUT->heading(get_string("nopostscontaining", "forum", $search));